.about-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 60px;
    color: #2C2A26;
}

.about-page.page-header-only,
.rules-page.page-header-only,
.mission-page.page-header-only,
.bridge-page.page-header-only,
.boundaries-page.page-header-only,
.participation-page.page-header-only { padding-bottom: 0; }
.about-page.page-content-start,
.rules-page.page-content-start,
.bridge-page.page-content-start,
.boundaries-page.page-content-start,
.mission-page.page-content-start,
.participation-page.page-content-start { padding-top: 40px; }

.about-page .bridge-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 48px 0 16px;
    border-bottom: 1px solid rgba(60,50,40,0.15);
}

.about-page .eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7A7368;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.about-page h1.page-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, 'Source Sans Pro', serif;
}

.about-page h1.page-title em {
    font-style: italic;
}

.about-page .header-lede {
    font-size: 18px;
    font-style: italic;
    color: #7A7368;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: Georgia, serif;
}

.about-page .ornament {
    display: block;
    text-align: center;
    color: #A89F94;
    font-size: 16px;
    letter-spacing: 0.5em;
    margin: 36px 0;
}

.dark-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.dark-block-icon {
    font-size: 1.3rem;
    color: var(--boh-gold);
    line-height: 1;
}

.dark-block-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--boh-gold);
    margin: 0;
}

.opening-block {
    background: var(--boh-bg-dark);
    border-top: 3px solid var(--boh-gold);
    padding: 48px 40px;
    margin-bottom: 0;
}

.opening-block .about-page-inner p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 24px;
    color: var(--boh-text-on-dark);
    font-family: Georgia, serif;
}

.opening-block .about-page-inner p:last-child {
    margin-bottom: 0;
}

.about-page .about-section {
    margin-bottom: 48px;
    padding: 40px 48px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
}

.about-page .about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.about-page .about-section-one::before   { background: #5C7A5E; }
.about-page .about-section-two::before   { background: #3A6B8A; }
.about-page .about-section-three::before { background: #C4884A; }
.about-page .about-section-four::before  { background: #7A5C8A; }
.about-page .about-section-five::before  { background: #4A7A8A; }

.about-page .section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.about-page .about-section-one   .section-label { color: #5C7A5E; }
.about-page .about-section-two   .section-label { color: #3A6B8A; }
.about-page .about-section-three .section-label { color: #C4884A; }
.about-page .about-section-four  .section-label { color: #7A5C8A; }
.about-page .about-section-five  .section-label { color: #4A7A8A; }

.about-page .section-title {
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, serif;
}

.about-page .about-section p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #2C2A26;
    font-family: Georgia, serif;
    background: none;
}

.about-page .about-section p:last-child {
    margin-bottom: 0;
}

.about-page .about-section strong {
    font-style: italic;
    font-weight: 500;
}

.about-page .pull-quote {
    margin: 48px 0;
    padding: 36px 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
    border-bottom: 1px solid rgba(60,50,40,0.15);
    text-align: center;
}

.about-page .pull-quote p {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    color: #1A1816;
    line-height: 1.55;
    margin: 0;
    font-family: Georgia, serif;
    background: none;
}

.about-page .about-cta-inline {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(60,50,40,0.1);
    text-align: center;
}

.closing-block {
    background: var(--boh-bg-dark);
    border-top: 3px solid var(--boh-gold);
    padding: 48px 40px;
    margin-top: 24px;
}

.closing-block .about-page-inner p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 22px;
    color: var(--boh-text-on-dark);
    font-family: Georgia, serif;
    background: none;
}

.closing-block-btn-wrap { text-align: center; margin: 8px 0 24px; }

.closing-block .about-page-inner .final-line {
    font-size: 20px;
    font-style: italic;
    color: var(--boh-gold);
    margin-bottom: 0;
    text-align: center;
}

.about-page-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 600px) {
    .about-page { padding: 40px 20px 80px; }
    .about-page .about-section { padding: 28px 24px; }
    .about-page .pull-quote { padding: 28px 24px; }
    .opening-block { padding: 32px 0; }
    .closing-block { padding: 32px 0; }
    .about-page-inner { padding: 0 20px; }
}
#admin_panel { max-width: 860px; margin: 0 auto; padding: 20px; }
.admin-section {
    background: #fff; border: 1px solid #ddd; border-radius: 10px;
    padding: 18px; margin-bottom: 14px;
}
.admin-section h2 { font-size: 1.15rem; margin-bottom: 10px; }
.admin-section-super { border-color: #e3b9b9; }
.admin-links { display: flex; gap: 8px; flex-wrap: wrap; }

.rail-group--site      { --rail-accent: #4A7A8A; }
.rail-group--calendar  { --rail-accent: #5C7A5E; }
.rail-group--it        { --rail-accent: #C4884A; }
.rail-group--therapist { --rail-accent: #7A5C8A; }
.rail-group--super     { --rail-accent: #9B3A3A; }

.admin-pane {
    --admin-accent: #7A7368;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 60px;
}
.admin-pane[data-group="site"]     { --admin-accent: #4A7A8A; }
.admin-pane[data-group="calendar"] { --admin-accent: #5C7A5E; }
.admin-pane[data-group="it"]       { --admin-accent: #C4884A; }
.admin-pane[data-group="super"]    { --admin-accent: #9B3A3A; }

.admin-pane h1 {
    color: var(--admin-accent);
    margin-bottom: 0.3rem;
}
.admin-pane h4,
.admin-pane h5 {
    color: var(--admin-accent);
}
.admin-pane .card {
    border-color: color-mix(in srgb, var(--admin-accent) 25%, #e7e2da);
}
.admin-pane .card-header {
    background: color-mix(in srgb, var(--admin-accent) 10%, #fff);
    color: var(--admin-accent);
    font-weight: 600;
    border-bottom-color: color-mix(in srgb, var(--admin-accent) 20%, #e7e2da);
}

.admin-table-wrap {
    background: #fff;
    border: 1px solid #e7e2da;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.admin-table thead th {
    background: #f8f6f2;
    color: var(--admin-accent, #4A7A8A);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 11px 14px;
    border-bottom: 2px solid color-mix(in srgb, var(--admin-accent, #4A7A8A) 18%, #e7e2da);
    white-space: nowrap;
    user-select: none;
}
.admin-table thead th[data-sort] {
    cursor: pointer;
}
.admin-table thead th[data-sort]:hover {
    background: color-mix(in srgb, var(--admin-accent, #4A7A8A) 7%, #f8f6f2);
}
.admin-table thead th .at-sort-icon {
    margin-left: 5px;
    font-style: normal;
    opacity: 0.3;
    font-size: 0.85em;
}
.admin-table thead th.sort-asc  .at-sort-icon,
.admin-table thead th.sort-desc .at-sort-icon { opacity: 1; }
.admin-table tbody tr {
    border-bottom: 1px solid #f0ece6;
    transition: background 0.1s;
}
.admin-table tbody tr:last-child { border-bottom: none; }
.admin-table tbody tr:hover { background: color-mix(in srgb, var(--admin-accent, #4A7A8A) 4%, #fff); }
.admin-table tbody tr.ac-drag-over { background: color-mix(in srgb, var(--admin-accent, #4A7A8A) 12%, #fff); outline: 2px dashed var(--admin-accent, #4A7A8A); outline-offset: -2px; }
.admin-table tbody tr.ac-dragging { opacity: 0.4; }
.admin-table tbody td {
    padding: 10px 14px;
    font-size: 0.93rem;
    vertical-align: middle;
    color: #2C2A26;
}
.ac-drag-handle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: grab;
    color: #6c757d;
    user-select: none;
}
.ac-drag-handle:active { cursor: grabbing; }
.ac-drag-handle .bi-grip-vertical { font-size: 1rem; }
.ac-pos { font-size: 0.78rem; font-weight: 600; color: #6c757d; }
.admin-pane .btn-primary {
    background-color: var(--admin-accent);
    border-color: var(--admin-accent);
}
.admin-pane .btn-primary:hover {
    background-color: color-mix(in srgb, var(--admin-accent) 85%, #000);
    border-color: color-mix(in srgb, var(--admin-accent) 85%, #000);
}

.admin-page-banner {
    --admin-accent: #7A7368;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 24px;
    background: color-mix(in srgb, var(--admin-accent) 9%, #fff);
    border-left: 5px solid var(--admin-accent);
    border-radius: 0 10px 10px 0;
}
.admin-page-banner[data-group="site"]     { --admin-accent: #4A7A8A; }
.admin-page-banner[data-group="calendar"] { --admin-accent: #5C7A5E; }
.admin-page-banner[data-group="it"]       { --admin-accent: #C4884A; }
.admin-page-banner[data-group="super"]    { --admin-accent: #9B3A3A; }
.admin-page-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--admin-accent);
}
.admin-page-banner .admin-page-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1816;
    margin: 0;
}

.admin-howto {
    margin-top: 56px;
    border: 1px solid #E3DDD4;
    border-left: 4px solid #8B7355;
    border-radius: 0 8px 8px 0;
    background: #FDFBF7;
    padding: 20px 24px 22px;
}
.admin-howto-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8B7355;
    margin: 0 0 8px;
}
.admin-howto-title {
    font-size: 15px;
    font-weight: 600;
    color: #1A1816;
    margin: 0 0 10px;
}
.admin-howto p {
    font-size: 13.5px;
    color: #5A5650;
    margin: 0 0 8px;
    line-height: 1.65;
}
.admin-howto p:last-child { margin-bottom: 0; }
.admin-howto ul {
    font-size: 13.5px;
    color: #5A5650;
    margin: 6px 0 0;
    padding-left: 18px;
}
.admin-howto ul li { margin-bottom: 5px; line-height: 1.55; }
.admin-howto ul li:last-child { margin-bottom: 0; }
.admin-howto strong { color: #3C3A36; font-weight: 600; }

.wc-legend {
    background: #fdfbf7;
    border: 1px solid #e3ddd4;
    border-left: 3px solid #3A6B8A;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    overflow: hidden;
}
.wc-legend-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #e3ddd4;
    background: #f5f3ef;
}
.wc-legend-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3A6B8A;
}
.wc-legend-sub {
    font-size: 12px;
    color: #8a8580;
}
.wc-legend-list {
    padding: 4px 0;
}
.wc-row {
    display: grid;
    grid-template-columns: minmax(100px, 42%) 1fr;
    gap: 6px 14px;
    align-items: start;
    padding: 7px 16px;
    border-bottom: 1px solid #f0ede8;
}
.wc-row:last-child { border-bottom: none; }
.wc-row--cond { background: #f3f7fb; }
.wc-token {
    font-family: monospace;
    font-size: 0.73rem;
    background: #eceae4;
    border: 1px solid #d5d0c8;
    border-radius: 4px;
    padding: 2px 6px;
    color: #2e2c28;
    word-break: break-word;
    line-height: 1.55;
    display: block;
}
.wc-row--cond .wc-token {
    background: #ddeaf3;
    border-color: #b5cfe0;
    color: #1e4a6a;
}
.wc-desc {
    font-size: 0.78rem;
    color: #5a5650;
    line-height: 1.55;
    padding-top: 3px;
}
.wc-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #3A6B8A;
    color: #fff;
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
}

.admin-enroll-banner {
    --banner-accent: #7A7368;
    background: color-mix(in srgb, var(--banner-accent) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--banner-accent) 25%, #fff);
    border-left: 4px solid var(--banner-accent);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--banner-accent) 60%, #1A1816);
}
.admin-enroll-banner[data-group="site"]     { --banner-accent: #4A7A8A; }
.admin-enroll-banner[data-group="calendar"] { --banner-accent: #5C7A5E; }
.admin-enroll-banner[data-group="it"]       { --banner-accent: #C4884A; }
.admin-enroll-banner[data-group="super"]    { --banner-accent: #9B3A3A; }

.overview-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.overview-group {
    background: #fff;
    border: 1px solid #e7e2da;
    border-left: 4px solid var(--rail-accent, #7A7368);
    border-radius: 10px;
    padding: 14px 16px;
}
.overview-group h2 {
    color: var(--rail-accent, #7A7368);
    margin-bottom: 10px;
}
.overview-links { display: flex; flex-direction: column; gap: 6px; }
.overview-link {
    display: block;
    padding: 7px 10px;
    border-radius: 7px;
    color: #2C2A26;
    text-decoration: none;
    background: color-mix(in srgb, var(--rail-accent, #7A7368) 8%, #fff);
}
.overview-link:hover {
    background: color-mix(in srgb, var(--rail-accent, #7A7368) 18%, #fff);
}

.ita-who-option {
    display: block;
    width: 100%;
    text-align: left;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #2C2A26;
}
.ita-who-option:hover { background: #eef4f8; }

@media (max-width: 768px) {
    .admin-page-banner {
        border-radius: 0 8px 8px 0;
        margin-bottom: 18px;
    }
}

#admin_content {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

#admin_content h1 {
    margin-bottom: 12px;
}

.ac-pill.active {
    background: #3A6B8A;
    color: #fff;
    border-color: #3A6B8A;
}

.ac-editor-card {
    border-left: 4px solid #3A6B8A;
}

#admin_queues {
    margin-top: 32px;
}
#admin_queues h1 { margin-bottom: 10px; }

.aq-card {
    border-left: 3px solid var(--boh-blue);
    border-radius: 6px;
}
.aq-card.aq-resolved {
    border-left-color: #adb5bd;
    opacity: 0.6;
}
.aq-body {
    padding: 10px 14px;
}
.aq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.aq-when {
    font-size: 0.75rem;
    color: var(--boh-text-muted);
    white-space: nowrap;
    margin-left: 8px;
}
.aq-who {
    font-size: 0.82rem;
    color: var(--boh-text-body);
    margin-bottom: 5px;
}
.aq-who-label {
    color: var(--boh-text-muted);
    font-size: 0.78rem;
}
.aq-sep { color: var(--boh-text-subtle); margin: 0 3px; }
.aq-details {
    font-size: 0.875rem;
    color: var(--boh-text-body);
    line-height: 1.45;
    margin: 4px 0 5px;
    max-height: 72px;
    overflow-y: auto;
}
.aq-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-bottom: 5px;
}
.aq-field {
    font-size: 0.78rem;
    color: var(--boh-text-body);
}
.aq-field-key {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--boh-text-muted);
    margin-right: 2px;
}
.aq-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 8px;
    border-top: 1px solid var(--boh-border);
    margin-top: 6px;
}
.aq-icon-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.aq-reroute-menu { min-width: 160px; font-size: 0.875rem; }

.aq-prop-before,
.aq-prop-after {
    max-height: 140px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre-wrap;
    word-break: break-word;
}
.aq-prop-votes { flex-wrap: wrap; gap: 6px; }
.aq-prop-votes .aq-vote-btn { width: max-content; flex: 0 0 auto; }

.aq-comment-thread {
    margin-top: 10px;
    border-top: 1px solid var(--boh-border);
    padding-top: 8px;
}
.aq-comment {
    padding: 6px 8px;
    border-left: 3px solid var(--boh-slate);
    background: #f8f9fa;
    border-radius: 0 4px 4px 0;
    margin-bottom: 6px;
}
.aq-comment-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 0.78rem;
}
.aq-comment-ts { color: var(--boh-text-muted); }
.aq-comment-body {
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-word;
}
.aq-comment-form { border-top: 1px solid var(--boh-border); padding-top: 8px; margin-top: 6px; }
.aq-comment-input { font-size: 0.85rem; resize: vertical; }

#admin_users {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

#admin_users h1 {
    margin-bottom: 12px;
}

.au-mark-x {
    color: #c0392b;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .au-table td, .au-table th {
        font-size: 0.85rem;
    }
}

#all_events {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

#all_events h1 {
    margin-bottom: 12px;
}

.ae-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.bridge-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 60px;
    color: #2C2A26;
}

.bridge-page .bridge-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 48px 0 16px;
    border-bottom: 1px solid rgba(60,50,40,0.15);
}

.bridge-page .eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7A7368;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.bridge-page h1.page-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, 'Source Sans Pro', serif;
}

.bridge-page h1.page-title em {
    font-style: italic;
}

.bridge-page .header-lede {
    font-size: 18px;
    font-style: italic;
    color: #7A7368;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: Georgia, serif;
}

.bridge-page .ornament {
    display: block;
    text-align: center;
    color: #A89F94;
    font-size: 16px;
    letter-spacing: 0.5em;
    margin: 36px 0;
}

.hearts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.heart-card {
    border-left: 4px solid var(--heart-accent);
    background: #faf9f7;
    border-radius: 0 6px 6px 0;
}

.heart-card-header {
    padding: 24px 28px 20px;
}

.heart-card-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--heart-accent);
    margin-bottom: 8px;
}

.heart-card-title {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #1A1816;
    margin: 0 0 16px;
    line-height: 1.35;
}

.heart-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--heart-accent);
    border: 1px solid var(--heart-accent);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.heart-read-btn:hover {
    opacity: 0.85;
}

.heart-read-btn[aria-expanded="true"] .heart-chevron {
    transform: rotate(180deg);
}

.heart-chevron {
    transition: transform 0.2s;
    font-size: 0.75rem;
}

.heart-card-body {
    padding: 0 28px 28px;
    border-top: 1px solid rgba(60,50,40,0.08);
    margin-top: 4px;
    padding-top: 20px;
}

.heart-card-body p {
    font-size: 17px;
    line-height: 1.85;
    color: #3C3830;
    margin-bottom: 1.1em;
}

.heart-card-body p:last-child {
    margin-bottom: 0;
}

.bridge-page .opening-block {
    margin-bottom: 56px;
}

.bridge-page .opening-block p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 24px;
    color: #2C2A26;
    font-family: Georgia, serif;
}

.bridge-page .story-section {
    margin-bottom: 48px;
    padding: 40px 48px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
}

.bridge-page .story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.bridge-page .section-heart-one::before   { background: #5C7A5E; }
.bridge-page .section-heart-two::before   { background: #3A6B8A; }
.bridge-page .section-heart-three::before { background: #C4884A; }
.bridge-page .section-heart-four::before  { background: #7A5C8A; }
.bridge-page .section-village::before     { background: #4A7A8A; }
.bridge-page .section-founding::before    { background: #8B6914; }

.bridge-page .section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.bridge-page .section-heart-one   .section-label { color: #5C7A5E; }
.bridge-page .section-heart-two   .section-label { color: #3A6B8A; }
.bridge-page .section-heart-three .section-label { color: #C4884A; }
.bridge-page .section-heart-four  .section-label { color: #7A5C8A; }
.bridge-page .section-village     .section-label { color: #4A7A8A; }
.bridge-page .section-founding    .section-label { color: #8B6914; }

.bridge-page .section-title {
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, serif;
}

.bridge-page .story-section p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #2C2A26;
    font-family: Georgia, serif;
    background: none;
}

.bridge-page .story-section p:last-child {
    margin-bottom: 0;
}

.bridge-page .story-section strong {
    font-style: italic;
    font-weight: 500;
}

.bridge-page .pull-quote {
    margin: 48px 0 0;
    padding: 36px 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
    border-bottom: 1px solid rgba(60,50,40,0.15);
    text-align: center;
}

.bridge-page .pull-quote p {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    color: #1A1816;
    line-height: 1.55;
    margin: 0;
    font-family: Georgia, serif;
    background: none;
}

.bridge-page .closing-block {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
}

.bridge-page .closing-block p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 22px;
    color: #2C2A26;
    font-family: Georgia, serif;
    background: none;
}

.bridge-page .closing-block .final-line {
    font-size: 20px;
    font-style: italic;
    color: #1A1816;
}

.bridge-page .cta-block {
    margin-top: 64px;
    text-align: center;
    padding: 48px 40px;
    background: #1A1816;
    border-radius: 3px;
}

.bridge-page .cta-block p {
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    color: rgba(255,253,249,0.85);
    margin-bottom: 24px;
    line-height: 1.6;
    font-family: Georgia, serif;
    background: none;
}

.bridge-page .founding-note {
    font-size: 14px;
    color: #7A7368;
    font-style: italic;
    text-align: center;
    margin-bottom: 32px;
    padding: 12px 20px;
    border: 1px solid rgba(139,105,20,0.2);
    border-radius: 3px;
    background: rgba(139,105,20,0.04);
}

.bridge-page .founding-image-block {
    margin: 40px 0;
    text-align: center;
}

.bridge-page .founding-image {
    width: 100%;
    max-width: 680px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto 20px;
}

.bridge-page .founding-image-caption {
    font-size: 14px;
    color: #7A7368;
    font-style: italic;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
    font-family: Georgia, serif;
    background: none;
}

.bridge-page .fellowship-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    margin: 36px 0 32px;
}

.bridge-page .fellowship-group {
    background: rgba(74,122,138,0.04);
    border: 1px solid rgba(74,122,138,0.15);
    border-radius: 3px;
    padding: 24px 28px;
}

.bridge-page .fellowship-group-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4A7A8A;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
}

.bridge-page .fellowship-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bridge-page .fellowship-list li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: #2C2A26;
    font-family: Georgia, serif;
    padding: 5px 0;
    border-bottom: 1px solid rgba(60,50,40,0.07);
}

.bridge-page .fellowship-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bridge-page .fellowship-list strong {
    font-weight: 500;
    font-style: normal;
    color: #1A1816;
}

.lib-section-note {
    font-size: 14px;
    line-height: 1.5;
    color: #6b6257;
    margin: -6px 0 14px;
    max-width: 70ch;
}

.bridge-page .fellowship-note {
    display: block;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
    color: rgba(44,42,38,0.65);
}

.bridge-page .fellowship-closing {
    font-size: 15px;
    font-style: italic;
    color: #7A7368;
    text-align: center;
    margin-top: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(74,122,138,0.2);
    border-radius: 3px;
    background: rgba(74,122,138,0.04);
    font-family: Georgia, serif;
}

@media (max-width: 600px) {
    .bridge-page { padding: 40px 20px 80px; }
    .bridge-page .story-section { padding: 28px 24px; }
    .bridge-page .pull-quote { padding: 28px 24px; }
    .bridge-page .fellowship-grid { grid-template-columns: 1fr; gap: 20px; }
    .bridge-page .fellowship-group { padding: 20px 20px; }
}

.boundaries-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 60px;
    color: #2C2A26;
}

.boundaries-page .bridge-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 48px 0 16px;
    border-bottom: 1px solid rgba(60,50,40,0.15);
    background: transparent;
}

.boundaries-page .bridge-header .eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7A7368;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.boundaries-page h1.page-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, serif;
    background: transparent;
}

.boundaries-page h1.page-title em {
    font-style: italic;
    color: #1A1816;
}

.boundaries-page .header-lede {
    font-size: 18px;
    font-style: italic;
    color: #7A7368;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: Georgia, serif;
    background: transparent;
}

.boundaries-page .pull-quote {
    margin: 48px 0 56px;
    padding: 36px 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
    border-bottom: 1px solid rgba(60,50,40,0.15);
    text-align: center;
}

.boundaries-page .pull-quote p {
    font-size: 21px;
    font-style: italic;
    font-weight: 300;
    color: #1A1816;
    line-height: 1.6;
    margin: 0 0 16px;
    font-family: Georgia, serif;
}

.boundaries-page .pull-quote cite {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A89F94;
    font-family: 'Poppins', sans-serif;
}

.boundaries-page .section-header {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #3A6B8A;
    margin-bottom: 28px;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(58,107,138,0.2);
}

.boundaries-list {
    list-style: none;
    padding: 0;
    margin: 0 0 56px;
}

.boundary-card {
    margin-bottom: 16px;
    padding: 28px 36px 28px 40px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.boundary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.boundary-card:nth-child(1)::before  { background: #3A6B8A; }
.boundary-card:nth-child(2)::before  { background: #C4884A; }
.boundary-card:nth-child(3)::before  { background: #709775; }
.boundary-card:nth-child(4)::before  { background: #7A5C8A; }
.boundary-card:nth-child(5)::before  { background: #5C7A5E; }
.boundary-card:nth-child(6)::before  { background: #4A7A8A; }
.boundary-card:nth-child(7)::before  { background: #C4884A; }
.boundary-card:nth-child(8)::before  { background: #3A6B8A; }
.boundary-card:nth-child(9)::before  { background: #709775; }
.boundary-card:nth-child(10)::before { background: #8B6914; }
.boundary-card:nth-child(11)::before { background: #7A5C8A; }
.boundary-card:nth-child(12)::before { background: #4A7A8A; }
.boundary-card:nth-child(13)::before { background: #5C7A5E; }
.boundary-card:nth-child(14)::before { background: #8B6914; }
.boundary-card:nth-child(15)::before { background: #3A6B8A; }

.boundary-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(60,50,40,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #7A7368;
    font-family: 'Poppins', sans-serif;
    margin-top: 2px;
}

.boundary-body {
    flex: 1;
}

.boundary-title {
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    color: #1A1816;
    margin: 0 0 10px;
    font-family: Georgia, serif;
    line-height: 1.3;
}

.boundary-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    color: #2C2A26;
    font-family: Georgia, serif;
    margin: 0;
}

@media (max-width: 600px) {
    .boundaries-page {
        padding: 40px 20px 80px;
    }

    .boundaries-page .pull-quote {
        padding: 28px 20px;
    }

    .boundary-card {
        padding: 24px 20px 24px 28px;
        gap: 16px;
    }

    .boundary-number {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

.rules-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 60px;
    color: #2C2A26;
}

.rules-page.page-header-only { padding-bottom: 0; }

.rules-page .bridge-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 48px 0 16px;
    border-bottom: 1px solid rgba(60,50,40,0.15);
}

.rules-page .eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7A7368;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.rules-page h1.page-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, 'Source Sans Pro', serif;
}

.rules-page h1.page-title em {
    font-style: italic;
}

.rules-page .header-lede {
    font-size: 18px;
    font-style: italic;
    color: #7A7368;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: Georgia, serif;
}

.rules-page .rules-section {
    margin-bottom: 56px;
}

.rules-page .rules-section-header {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 12px;
    border-bottom: 2px solid currentColor;
    opacity: 0.85;
}

.rules-page .rule-card {
    margin-bottom: 20px;
    padding: 32px 40px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
}

.rules-page .rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
    background: var(--rule-accent, #4A7A8A);
}

.rules-page .rule-title {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.35;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.rules-page .rule-explanation {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: #2C2A26;
    font-family: Georgia, serif;
    margin: 0;
    background: none;
}

.rules-page .pull-quote {
    margin: 0;
    padding: 0 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
    border-bottom: 1px solid rgba(60,50,40,0.15);
    text-align: center;
}

.rules-page .pull-quote p {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    color: #1A1816;
    line-height: 1.55;
    margin: 0;
    font-family: Georgia, serif;
    background: none;
}

.rules-page .closing-block {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
}

.rules-page .closing-block p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 22px;
    color: #2C2A26;
    font-family: Georgia, serif;
    background: none;
}

.rules-page .closing-block .final-line {
    font-size: 20px;
    font-style: italic;
    color: #1A1816;
}

@media (max-width: 600px) {
    .rules-page { padding: 40px 20px 80px; }
    .rules-page .rule-card { padding: 24px 20px; }
    .rules-page .pull-quote { padding: 28px 24px; }
}

.content-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    color: #2b2f34;
}

.content-page .page-title-block {
    margin-bottom: 52px;
    padding-bottom: 32px;
    border-bottom: 2px solid #e8e4df;
}

.content-page .page-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C4A46A;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.content-page h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    color: #1A1816;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.content-page .page-intro {
    font-size: 18px;
    line-height: 1.75;
    color: #5a5a5a;
    font-weight: 300;
}

.content-page .content-section {
    margin-bottom: 52px;
}

.content-page h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 14px;
    margin-top: 36px;
    font-family: 'Poppins', sans-serif;
    padding-left: 14px;
    border-left: 3px solid #C4A46A;
}

.content-page h2:first-child {
    margin-top: 0;
}

.content-page p {
    font-size: 16px;
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 18px;
    background: none;
}

.content-page p:last-child {
    margin-bottom: 0;
}

.content-page em {
    font-style: italic;
    color: #2b2f34;
}

.content-page strong {
    font-weight: 600;
    color: #1A1816;
}

.content-page .step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.content-page .step-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 24px 28px;
    background: #FDFBF8;
    border: 1px solid #e8e4df;
    border-radius: 4px;
}

.content-page .step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #C4A46A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-top: 2px;
}

.content-page .step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.content-page .step-content p {
    font-size: 15px;
    margin-bottom: 0;
    color: #4a4a4a;
}

.content-page .info-box {
    background: #F4F0EA;
    border-left: 4px solid #C4A46A;
    border-radius: 0 4px 4px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.content-page .info-box p {
    margin-bottom: 0;
    font-size: 15px;
    color: #3a3a3a;
}

.content-page .gated-box {
    background: #EFF5F9;
    border: 1px solid #c8dce8;
    border-radius: 4px;
    padding: 24px 28px;
    margin: 28px 0;
    text-align: center;
}

.content-page .gated-box p {
    color: #3A6B8A;
    margin-bottom: 16px;
    font-size: 15px;
}

.content-page .section-divider {
    border: none;
    border-top: 1px solid #e8e4df;
    margin: 48px 0;
}

.content-page .cta-block {
    margin-top: 52px;
    padding: 40px 36px;
    background: #1A1816;
    border-radius: 4px;
    text-align: center;
}

.content-page .cta-block p {
    color: rgba(255,253,249,0.85);
    font-size: 17px;
    margin-bottom: 20px;
}

.content-page .key-command {
    display: inline-block;
    background: #2b2f34;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 3px;
    margin: 0 2px;
}

@media (max-width: 600px) {
    .content-page {
        padding: 40px 20px 80px;
    }

    .content-page .step-list li {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
}

.contact-website-field {
    position: absolute;
    left: -9999px;
    height: 1px;
    overflow: hidden;
}

.dashboard-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.intake-banner {
    background: #FFFDF9;
    border: 1px solid rgba(196, 136, 74, 0.3);
    border-left: 4px solid #C4884A;
    border-radius: 6px;
    margin-bottom: 32px;
    padding: 24px 28px;
}

.intake-banner--progress {
    border-left-color: #709775;
    border-color: rgba(112, 151, 117, 0.3);
}

.intake-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.intake-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.intake-body {
    flex: 1;
    min-width: 200px;
}

.intake-heading {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #1A1816;
    margin: 0 0 8px;
}

.intake-sub {
    font-size: 14px;
    color: #7A7368;
    line-height: 1.7;
    margin: 0 0 8px;
}

.intake-sub:last-child {
    margin-bottom: 0;
}

.intake-actions {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}

.btn-intake-start {
    display: inline-block;
    background: #C4884A;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-intake-start:hover {
    background: #A0674B;
    color: #fff;
    text-decoration: none;
}

.intake-banner--progress .btn-intake-start {
    background: #709775;
}

.intake-banner--progress .btn-intake-start:hover {
    background: #5C7A5E;
}

.intake-progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.intake-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(112, 151, 117, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.intake-progress-fill {
    height: 100%;
    background: #709775;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.intake-progress-label {
    font-size: 12px;
    color: #7A7368;
    white-space: nowrap;
}

.db-mark-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fdf4f0;
    border: 1px solid #e8c4b0;
    border-left: 4px solid #C4884A;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.db-mark-icon {
    color: #C4884A;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.db-mark-body {
    font-size: 0.9rem;
    color: #4a3620;
    line-height: 1.5;
}

.db-mark-body strong {
    display: block;
    margin-bottom: 2px;
}

.db-mark-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: #C4884A;
    font-weight: 600;
    text-decoration: none;
}

.db-mark-link:hover {
    text-decoration: underline;
    color: #a0674b;
}

.db-greeting {
    margin-bottom: 24px;
}

.db-date {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #A89F94;
    margin-bottom: 6px;
}

.db-welcome {
    font-family: Georgia, serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 300;
    color: #1A1816;
    margin: 0 0 6px;
}

.db-username {
    font-weight: 400;
    font-style: italic;
}

.db-tagline {
    font-size: 15px;
    color: #7A7368;
    margin: 0;
    font-style: italic;
}

.db-streak-card {
    background: #FFFDF9;
    border: 1px solid rgba(60, 50, 40, 0.12);
    border-radius: 6px;
    padding: 18px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.streak-number {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 300;
    color: #C4884A;
    line-height: 1;
    min-width: 60px;
}

.streak-right {
    flex: 1;
}

.streak-label {
    font-size: 13px;
    color: #7A7368;
    margin: 0 0 8px;
}

.streak-label strong {
    color: #1A1816;
    font-weight: 500;
}

.streak-dots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.streak-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(60, 50, 40, 0.12);
}

.streak-dot.filled {
    background: #C4884A;
}

.streak-best {
    font-size: 11px;
    color: #A89F94;
    margin-top: 6px;
}

.streak-loading {
    font-size: 13px;
    color: #A89F94;
    font-style: italic;
}

.db-prompt-card {
    background: #FFFDF9;
    border: 1px solid rgba(60, 50, 40, 0.12);
    border-left: 4px solid #709775;
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.prompt-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #709775;
    margin-bottom: 12px;
}

.prompt-text {
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: #1A1816;
    font-style: italic;
    margin-bottom: 20px;
}

.prompt-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-prompt-write {
    display: inline-block;
    background: #709775;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-prompt-write:hover {
    background: #5C7A5E;
    color: #fff;
    text-decoration: none;
}

.btn-prompt-new {
    background: none;
    border: 1px solid rgba(60, 50, 40, 0.2);
    color: #7A7368;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-prompt-new:hover {
    border-color: rgba(60, 50, 40, 0.4);
    color: #1A1816;
}

.prompt-theme {
    font-size: 12px;
    font-weight: 600;
    color: #709775;
    margin-bottom: 16px;
}

.prompt-skeleton {
    height: 80px;
    background: linear-gradient(90deg, #f0ece4 25%, #f8f5ef 50%, #f0ece4 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.db-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #A89F94;
    margin: 0 0 14px;
}

.db-pillars-row + .db-section-label {
    margin-top: 28px;
}

.db-section-desc {
    font-size: 13.5px;
    color: #6B6560;
    line-height: 1.6;
    margin: -6px 0 20px;
    max-width: 680px;
}

.db-path {
    position: relative;
    margin: 0 0 34px;
}

.db-path-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.db-path-card {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 18px;
    background: var(--boh-bg-cream, #FFFDF9);
    border: 1px solid rgba(60, 50, 40, 0.12);
    border-top: 3px solid var(--db-path-accent, #C4A46A);
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.db-path-card:hover,
.db-path-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(60, 50, 40, 0.12);
    border-color: rgba(60, 50, 40, 0.28);
    border-top-color: var(--db-path-accent, #C4A46A);
    text-decoration: none;
}

.db-path-card--name { --db-path-accent: var(--boh-sage, #709775); }
.db-path-card--see  { --db-path-accent: var(--boh-blue, #3A6B8A); }
.db-path-card--work { --db-path-accent: var(--boh-amber, #C4884A); }

.db-path-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--db-path-accent, #C4A46A);
}


.db-path-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--boh-text-heading, #1A1816);
    line-height: 1.25;
}

.db-path-desc {
    font-size: 13px;
    line-height: 1.45;
    color: var(--boh-text-muted, #5E584E);
}

.db-path-join {
    flex: 0 0 26px;
    align-self: center;
    height: 2px;
    background: var(--boh-gold, #C4A46A);
    position: relative;
}

.db-path-join::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--boh-gold, #C4A46A);
    border-right: 2px solid var(--boh-gold, #C4A46A);
    transform: translateY(-50%) rotate(45deg);
}

.db-path-loop {
    height: 26px;
    margin: 0 60px;
    border: 2px solid var(--boh-gold, #C4A46A);
    border-top: none;
    border-radius: 0 0 12px 12px;
    position: relative;
}

.db-path-loop::after {
    content: "";
    position: absolute;
    left: -2px;
    top: -1px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--boh-gold, #C4A46A);
    border-left: 2px solid var(--boh-gold, #C4A46A);
    transform: translate(-3px, 0) rotate(45deg);
}

.db-path-note {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: -11px auto 0;
    padding: 0 12px;
    background: var(--boh-bg-page, #F5F2EE);
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    color: var(--boh-text-muted, #5E584E);
    text-align: center;
}

.db-path-lead {
    margin: 0 0 14px;
    max-width: 46em;
    font-size: 14px;
    line-height: 1.55;
    color: var(--boh-text-muted, #5E584E);
}

.db-path--fresh .db-path-card--name {
    box-shadow: 0 3px 14px rgba(112, 151, 117, 0.22);
}

.db-path--fresh .db-path-card--see,
.db-path--fresh .db-path-card--work {
    background: transparent;
    border-style: dashed;
    border-top-style: solid;
}

.db-path--fresh .db-path-card--see .db-path-title,
.db-path--fresh .db-path-card--work .db-path-title {
    color: var(--boh-text-muted, #5E584E);
}

.db-path--fresh .db-path-card--see .db-path-desc,
.db-path--fresh .db-path-card--work .db-path-desc {
    color: var(--boh-text-subtle, #9a9390);
}

.db-path-cta {
    align-self: flex-start;
    margin-top: 4px;
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--boh-sage, #709775);
    color: var(--boh-text-on-accent, #fff);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.db-path-card--name:hover .db-path-cta,
.db-path-card--name:focus-visible .db-path-cta {
    background: var(--boh-sage-dark, #5C7A5E);
}

.db-path-waiting {
    margin-top: 2px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
    color: var(--boh-text-subtle, #9a9390);
}

@media (max-width: 720px) {
    .db-path-row {
        flex-direction: column;
    }

    .db-path-card {
        padding: 14px 14px 16px;
    }

    .db-path-join {
        flex: 0 0 22px;
        width: 2px;
        height: 22px;
        align-self: flex-start;
        margin-left: 26px;
    }

    .db-path-join::after {
        right: 50%;
        top: auto;
        bottom: -1px;
        transform: translate(50%, 0) rotate(135deg);
    }

    .db-path-loop {
        margin: 0 34px 0 26px;
        height: 18px;
    }

    .db-path-note {
        margin-top: 7px;
        padding: 0;
        background: none;
        max-width: 22em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .db-path-card {
        transition: none;
    }
    .db-path-card:hover,
    .db-path-card:focus-visible {
        transform: none;
    }
}

.db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 36px;
}

.db-tile {
    background: #FFFDF9;
    border: 1px solid rgba(60, 50, 40, 0.12);
    border-radius: 6px;
    padding: 18px 18px 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.db-tile:hover {
    border-color: rgba(60, 50, 40, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.tile-label {
    font-size: 14px;
    font-weight: 500;
    color: #1A1816;
    margin: 0 0 3px;
}

.tile-desc {
    font-size: 12px;
    color: #7A7368;
    margin: 0;
    line-height: 1.5;
}

.tile-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 10px;
    width: fit-content;
    font-weight: 500;
}

.tile-badge--action   { background: #FAECE7; color: #A0674B; }
.tile-badge--new      { background: #FBEAF0; color: #993556; }
.tile-badge--meetings { background: #EEEDFE; color: #534AB7; }

.db-pillars-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.db-pillar-card {
    border-radius: 14px;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1.5px solid rgba(0,0,0,0.07);
    background: #faf9f7;
}

.pillar-card-body {
    flex-grow: 1;
}

.db-pillar-card--trust        { background: var(--pillar-trust-bg); }
.db-pillar-card--resiliency   { background: var(--pillar-res-bg); }
.db-pillar-card--accountability { background: var(--pillar-acc-bg); }
.db-pillar-card--understanding { background: var(--pillar-und-bg); }
.db-pillar-card--mindfulness  { background: var(--pillar-min-bg); }
.db-pillar-card--action       { background: var(--pillar-act-bg); }

.db-pillar-card--live {
    border-color: rgba(74,143,163,0.35);
    box-shadow: 0 2px 10px rgba(74,143,163,0.12);
}

.pillar-card-letter {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.75;
}
.db-pillar-card--trust        .pillar-card-letter { color: var(--pillar-trust-fg); }
.db-pillar-card--resiliency   .pillar-card-letter { color: var(--pillar-res-fg); }
.db-pillar-card--accountability .pillar-card-letter { color: var(--pillar-acc-fg); }
.db-pillar-card--understanding .pillar-card-letter { color: var(--pillar-und-fg); }
.db-pillar-card--mindfulness  .pillar-card-letter { color: var(--pillar-min-fg); }
.db-pillar-card--action       .pillar-card-letter { color: var(--pillar-act-fg); }

.db-pillar-card--trust        .pillar-card-name { color: var(--pillar-trust-fg); }
.db-pillar-card--resiliency   .pillar-card-name { color: var(--pillar-res-fg); }
.db-pillar-card--accountability .pillar-card-name { color: var(--pillar-acc-fg); }
.db-pillar-card--understanding .pillar-card-name { color: var(--pillar-und-fg); }
.db-pillar-card--mindfulness  .pillar-card-name { color: var(--pillar-min-fg); }
.db-pillar-card--action       .pillar-card-name { color: var(--pillar-act-fg); }

.pillar-card-name {
    font-weight: 600;
    font-size: 13px;
    margin: 0;
    color: #1a1a1a;
}

.pillar-card-summary {
    font-size: 11px;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
}

.pillar-card-cta {
    display: inline-block;
    margin-top: 4px;
    padding: 5px 14px;
    background: #4A8FA3;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s;
}
.pillar-card-cta:hover { background: #3d7a8c; color: #fff; }

.pillar-card-soon {
    display: inline-block;
    margin-top: 4px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.06);
    color: #888;
    border-radius: 20px;
    font-size: 11px;
    text-align: center;
}

.pillar-card-wb-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.pillar-card-wb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 8px;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.12s;
}
.pillar-card-wb-row:hover { background: rgba(74,143,163,0.12); }

.pillar-card-wb-name {
    font-size: 11px;
    color: #2a2a2a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.pillar-card-wb-action {
    font-size: 11px;
    font-weight: 600;
    color: #4A8FA3;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .db-pillars-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .db-pillars-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dashboard-wrap {
        padding: 20px 16px 60px;
    }

    .db-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .db-streak-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .streak-number {
        font-size: 34px;
    }
}.error-container {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.error-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #dc3545;
}
.error-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #6c757d;
}
.error-container a {
    text-decoration: none;
    font-size: 1rem;
    color: #fff;
    background-color: #3A6B8A;
    padding: 10px 20px;
    border-radius: 5px;
}
.error-container a:hover {
    background-color: #2a4f6a;
}:root{
    --color-text: #616161;
    --color-text-btn: #ffffff;
    --card1-gradient-color1: #D4896A;
    --card1-gradient-color2: #ECC4A8;
    --card2-gradient-color1: #7EB8C9;
    --card2-gradient-color2: #B8DDE6;
    --card3-gradient-color1: #9B8FBF;
    --card3-gradient-color2: #C8C0DF;
    --card4-gradient-color1: #C9A567;
    --card4-gradient-color2: #E8D9B0;
}

a {
    text-decoration: none;
}

.fc {
    font-family: 'Arial', sans-serif; 
    background-color: #f9f9f9; 
    border: 1px solid #ddd; 
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.fc-header-toolbar {
    background-color: #4a5568; 
    color: white;
    padding: 10px;
    border-radius: 6px 6px 0 0;
}

.fc-header-toolbar .fc-button {
    background-color: #718096;
    color: white;
    border: none;
    margin: 0 3px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.fc-header-toolbar .fc-button:hover {
    background-color: #2d3748; 
}

.fc-col-header-cell a {
    color: black;
    font-weight: bold;
    font-size: 1rem;
    text-transform: capitalize;
}

.fc-header-toolbar .fc-toolbar-title {
    color: white;
}

.fc-daygrid-day {
    border: 1px solid #e2e8f0; 
    background-color: #ffffff;
    transition: background 0.3s ease;
}

.fc-daygrid-day:hover {
    background-color: #edf2f7; 
}

.fc-daygrid-day-number {
    font-weight: bold;
    color: #4a5568; 
}

.fc-day-today {
    background-color: #fefcbf; 
    border: 1px solid #ecc94b;
}

.fc-event {
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    padding: 3px 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-event:hover {
    background-color: #2b6cb0;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.fc-daygrid-dot-event {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0;
    padding: 2px 5px 3px;
}

.fc-daygrid-dot-event .fc-daygrid-event-dot {
    display: none; 
}

.fc-daygrid-dot-event .fc-event-title {
    order: 1;
    font-weight: 600;
    font-size: 0.83rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25;
    width: 100%;
}

.fc-daygrid-dot-event .fc-event-time {
    order: 2;
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.88;
    line-height: 1.2;
    
    white-space: normal;
    width: 100%;
    overflow-wrap: break-word;
}

.fc .fc-timegrid-event .fc-event-time {
    white-space: normal;
    overflow-wrap: break-word;
}

.cal-event-hover {
    position: absolute;
    z-index: 9999;
    min-width: 220px;
    max-width: 290px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: rgba(0,0,0,0.19) 0 8px 20px, rgba(0,0,0,0.22) 0 4px 6px;
    pointer-events: none;
    background: #fff;
    color: var(--color-text);
    font-size: 0.82rem;
    line-height: 1.45;
}

.cal-hover-header {
    height: 80px;
    width: 100%;
    border-radius: 100% 0% 100% 0% / 0% 50% 50% 100%;
    display: grid;
    place-items: center;
    padding: 0 16px;
    background: #c8c0df; 
}
.cal-hover-header.conference-line-meeting {
    background: linear-gradient(to bottom left, var(--card3-gradient-color1), var(--card3-gradient-color2));
}
.cal-hover-header.zoom-meeting {
    background: linear-gradient(to bottom left, var(--card2-gradient-color1), var(--card2-gradient-color2));
}
.cal-hover-header.in-person-meeting {
    background: linear-gradient(to bottom left, var(--card1-gradient-color1), var(--card1-gradient-color2));
}
.cal-hover-header.hybrid-meeting {
    background: linear-gradient(to bottom left, var(--card4-gradient-color1), var(--card4-gradient-color2));
}

.cal-hover-title {
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cal-hover-body {
    padding: 10px 14px 12px;
}
.cal-hover-body p {
    margin: 0 0 5px;
}

.cal-hover-format { }
.cal-hover-format-desc {
    font-size: 0.77rem;
    color: #555;
}
.cal-hover-desc {
    color: #444;
}
.cal-hover-field {
    font-size: 0.8rem;
}
.cal-hover-faith {
    font-size: 0.78rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 5px;
    margin-top: 4px !important;
}
.cal-hover-onbreak {
    color: var(--boh-red);
    font-weight: 700;
}
.modal-no-meeting {
    color: var(--boh-red);
    font-weight: 600;
}

.cal-no-meeting-sign {
    display: block;
    background: var(--boh-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    border-radius: 3px 3px 0 0;
    padding: 1px 4px;
}
.fc-event.cal-on-break,
.fc-daygrid-event.cal-on-break {
    opacity: 0.8;
}
.fc-list-event .cal-no-meeting-sign {
    display: inline-block;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }

    .fc-daygrid-day {
        font-size: 0.8rem; 
    }

    .fc-event {
        font-size: 0.75rem;
        padding: 2px;
    }
}

.fc .fc-daygrid-event {
    list-style-type: none; 
    padding-left: 10; 
    margin-left: 0; 
}

.fc-daygrid-event-dot {
    display: none; 
}

.fc-event.conference-line-meeting .fc-event-title::before {
    content: "\f095\00a0\00a0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fc-event.zoom-meeting .fc-event-title::before {
    content: "\f03d\00a0\00a0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fc-event.in-person-meeting .fc-event-title::before {
    content: "\f007\00a0\00a0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fc-event.hybrid-meeting .fc-event-title::before {
    content: "\f277\00a0\00a0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fc-v-event .fc-event-main {
    color: black;
}

#eventDetailsModal .btn-close {
    color: #000000; 
    filter: none; 
    opacity: 1; 
}

.modalButtons {
    background-color: transparent; 
    border: none; 
    padding: 10px; 
    cursor: pointer; 
}

#eventDetailsModal .card-wrap{
    width: 100%;
    background: #fff;
    border-radius: 20px;
    border: 5px solid #fff;
    overflow: hidden;
    color: var(--color-text);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
    rgba(0, 0, 0, 0.23) 0px 6px 6px;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

#eventDetailsModal .card-header{
    height: 200px;
    width: 100%;
    background: red;
    border-radius:100% 0% 100% 0% / 0% 50% 50% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.modal-action-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
#eventDetailsModal .card-header i{
    color: #000;
    font-size: 20px;
}
#eventDetailsModal .card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}
#eventDetailsModal .card-title{
    color: #000;
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 6px;

}
#eventDetailsModal .card-text{
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
}
#eventDetailsModal .card-btn{
    border: none;
    border-radius: 100px;
    padding: 5px 30px;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
}
#eventDetailsModal .card-header.in-person-meeting{
    background: linear-gradient(to bottom left, var(--card1-gradient-color1), var(--card1-gradient-color2));
}
#eventDetailsModal .card-header.conference-line-meeting{
    background: linear-gradient(to bottom left, var(--card3-gradient-color1), var(--card3-gradient-color2));
}
#eventDetailsModal .card-header.zoom-meeting{
    background: linear-gradient(to bottom left, var(--card2-gradient-color1), var(--card2-gradient-color2));
}
#eventDetailsModal .card-header.hybrid-meeting{
    background: linear-gradient(to bottom left, var(--card4-gradient-color1), var(--card4-gradient-color2));
}

#eventDetailsModal .card-btn.in-person-meeting{
    background: linear-gradient(to left, var(--card1-gradient-color1), var(--card1-gradient-color2));
}
#eventDetailsModal .card-btn.conference-line-meeting{
    background: linear-gradient(to left, var(--card3-gradient-color1), var(--card3-gradient-color2));
}
#eventDetailsModal .card-btn.zoom-meeting{
    background: linear-gradient(to left, var(--card2-gradient-color1), var(--card2-gradient-color2));
}
#eventDetailsModal .card-btn.hybrid-meeting{
    background: linear-gradient(to left, var(--card4-gradient-color1), var(--card4-gradient-color2));
}

.popup-meeting-box {
    background: var(--boh-bg-light);
    border: 1px solid var(--boh-border-strong);
    border-left: 4px solid var(--boh-amber);
    border-radius: 8px;
    padding: 12px 14px;
}

.popup-meeting-box .form-check-label {
    color: var(--boh-text-heading);
}

.popup-meeting-box .form-check-input:checked {
    background-color: var(--boh-amber);
    border-color: var(--boh-amber);
}

.popup-meeting-help {
    font-size: .85rem;
    line-height: 1.45;
    color: var(--boh-text-muted);
}

#popupDateNote {
    color: var(--boh-text-heading);
    font-size: .95rem;
    font-weight: 600;
}

.popup-meeting-badge {
    display: inline-block;
    background: var(--boh-amber);
    color: var(--boh-text-on-accent);
    border-radius: 100px;
    padding: 2px 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    vertical-align: middle;
}

.recurrence-days-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 6px;
}

.recurrence-days-grid .form-check {
    margin: 0;
    min-width: 100px;
}

.details-report-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-details-report {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    color: #000;
    letter-spacing: 0.02em;
}

#addEventModal .modal-header.in-person-meeting, #saveEventButton.in-person-meeting{
    color: black;
    background: linear-gradient(to bottom left, var(--card1-gradient-color1), var(--card1-gradient-color2));
}

#addEventModal .modal-header.conference-line-meeting, #saveEventButton.conference-line-meeting {
    color: black;
    background: linear-gradient(to bottom left, var(--card3-gradient-color1), var(--card3-gradient-color2));
}

#addEventModal .modal-header.zoom-meeting, #saveEventButton.zoom-meeting{
    color: black;
    background: linear-gradient(to bottom left, var(--card2-gradient-color1), var(--card2-gradient-color2));
}

#addEventModal .modal-header.hybrid-meeting, #saveEventButton.hybrid-meeting{
    color: black;
    background: linear-gradient(to bottom left, var(--card4-gradient-color1), var(--card4-gradient-color2));
}

#errorFormErrors ul {
    list-style: none; 
    padding: 0;
    margin: 0;
}

#errorFormErrors li {
    color: red; 
    margin-bottom: 5px;
    font-weight: bold; 
}

#meetingSummary{
    color: #5e5e5e;
}

.in-person-meeting {
    background: var(--card1-gradient-color2);
    color: #000;
}

.conference-line-meeting {
    background: var(--card3-gradient-color2);
    color: #000;
}

.zoom-meeting {
    background: var(--card2-gradient-color2);
    color: #000;
}

.hybrid-meeting {
    background: var(--card4-gradient-color2);
    color: #000;
}

.default-event {
    background: #ddd;
    color: #000;
}

#eventDetailsModal .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px; 
}

#eventDetailsModal .alert{
    margin-top: 20px;
    color: black;
    background-color: lightpink;
}
#eventDetailsModal ul{
    list-style-type: none;
}

#eventDetailsModal h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#eventDetailsModal p {
    font-size: 1rem;
    margin-bottom: 15px;
}

#addEventModal {
    font-family: Arial, sans-serif;
    color: #333; 
}

#addEventModal .modal-content {
    background-color: #fff; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#addEventModal .modal-header {
    background-color: #3A6B8A;
    color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#addEventModal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

#addEventModal .btn-close {
    color: #fff;
    opacity: 1;
}

#addEventModal .modal-body {
    padding: 20px;
    background-color: #f9f9f9;
    max-height: 65vh;
    overflow-y: auto;
}

#addEventModal .form-group {
    margin-bottom: 1.5rem;
}

#addEventModal .form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    padding: 10px;
    background-color: #fff;
    color: #333;
}

#addEventModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#addEventModal .form-select {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    padding: 10px;
    background-color: #fff;
    color: #333;
}

#addEventModal .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#addEventModal .modal-footer {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    padding: 16px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

#addEventModal .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
}

#addEventModal .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

#addEventModal label {
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
    color: #333;
}

#addEventModal input[type="checkbox"] {
    margin-right: 8px;
}

#addEventModal #faithSelection {
    margin-top: 10px;
}

#addEventModal #recurrenceFields {
    margin-top: 15px;
}

#addEventModal .mt-3 {
    margin-top: 1rem !important;
}

#addEventModal .mt-2 {
    margin-top: 0.5rem !important;
}

#addEventModal textarea {
    resize: vertical;
}

#addEventModal select {
    appearance: none;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
    color: black; 
    background-color: black; 
    filter: invert(1); 
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    appearance: none;
    border: none;
}

.modal {
    z-index: 1055; 
}

.modal-backdrop {
    z-index: 1050; 
}

.modal.fade.show {
    display: block; 
}

#mapContainer {
    width: 100%;
    margin-top: 20px;
}

#mapContainer iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

.event_calendar_form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}

.event_calendar_form .form-group {
    margin-bottom: 20px;
}

.event_calendar_form input,
.event_calendar_form select,
.event_calendar_form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.event_calendar_form textarea {
    resize: vertical;
}

.event_calendar_form button,
#eventModal .btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
}

#eventModal .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

#eventModal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

#eventModal .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

#event_calendar .row,
#my_meetings .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

#event_calendar .column,
#my_meetings .column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}
.event_filter{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    height: 100%;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.cal-header h1 {
    margin: 0;
}
.cal-header-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cal-event-filter {
    width: auto;
    height: 31px;
    font-size: 0.875rem;
    padding: 0.3rem 2rem 0.3rem 0.7rem;
    border-radius: 4px;
    margin-right: 0.4rem;
    background-color: #718096;
    color: #fff;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 16px 12px;
}
.cal-event-filter:hover {
    background-color: #2d3748;
}
.cal-event-filter:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.cal-event-filter option {
    background-color: #4a5568;
    color: #fff;
}

.cal-timer-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: color-mix(in srgb, var(--boh-blue) 5%, #fff);
    border: 1px solid color-mix(in srgb, var(--boh-blue) 22%, #fff);
    border-radius: 8px;
    padding: 0.3rem 0.7rem;
}
.cal-timer-icon {
    color: var(--boh-blue);
    font-size: 1rem;
}
.cal-timer-display {
    font-size: 1.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    color: var(--boh-text-body, #333);
    transition: color 0.3s;
    min-width: 2.6rem;
    text-align: center;
}
.cal-timer-display.cal-timer-warning {
    color: #c87b00;
}
.cal-timer-display.cal-timer-done {
    color: #2e7d32;
}
.cal-timer-btn {
    white-space: nowrap;
}
.cal-timer-info-toggle {
    background: none;
    border: none;
    padding: 0;
    color: var(--boh-blue);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
}
.cal-timer-info-toggle:hover {
    opacity: 1;
}
.cal-timer-guide {
    background: color-mix(in srgb, var(--boh-blue) 5%, #fff);
    border: 1px solid color-mix(in srgb, var(--boh-blue) 22%, #fff);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}
.cal-timer-guide-inner {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .cal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cal-header-controls {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .event_calendar #calendar {
        width: 100%;
        margin: auto;
    }

    #eventModal .modal-dialog {
        margin: 20px;
    }

    .fc-toolbar-chunk {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .fc-toolbar-chunk:last-child {
        gap: 4px;
    }
    .cal-event-filter {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2px;
    }
}

.fc-h-event .fc-event-main {
    color: black;
    background-color: #fff;
}

.calendar-timezone-label {
    font-size: 0.78rem;
    color: #A89F94;
    font-style: italic;
    text-align: right;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

#eventDetailsModal .gated-info {
    font-size: 0.9rem;
    font-style: italic;
    color: #7A7368;
    padding: 8px 0;
}

#eventDetailsModal .gated-info a {
    color: #3A6B8A;
    text-decoration: underline;
    font-weight: 500;
}

#boh-confirm-modal .modal-content {
    background-color: #ffffff !important;
    color: #333 !important;
    border: none;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 10px 24px,
    rgba(0, 0, 0, 0.12) 0px 4px 8px;
    overflow: hidden;
}

#boh-confirm-modal .boh-confirm-header {
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: none;
}

#boh-confirm-modal .modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222 !important;
    text-transform: none;
    letter-spacing: 0.01em;
    margin: 0;
}

#boh-confirm-modal .btn-close {
    opacity: 0.5;
    filter: none;
}

#boh-confirm-modal .btn-close:hover {
    opacity: 1;
}

#boh-confirm-modal .modal-body {
    padding: 20px;
    background-color: #ffffff !important;
}

#boh-confirm-modal .modal-body p {
    font-size: 0.95rem;
    color: #555 !important;
    margin: 0;
    line-height: 1.6;
}

#boh-confirm-modal .modal-footer {
    background-color: #f7f7f7 !important;
    border-top: 1px solid #e8e8e8;
    padding: 14px 20px;
    gap: 10px;
}

#boh-confirm-modal .btn {
    border-radius: 100px;
    padding: 7px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

#boh-confirm-modal .btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

#boh-confirm-modal .boh-confirm-cancel {
    background-color: #e2e2e2 !important;
    color: #444 !important;
}

.location-bar {
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.location-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.btn-location-geo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #3A6B8A;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-location-geo:hover { background: #2a4f6a; }
.btn-location-geo:disabled { opacity: 0.6; cursor: not-allowed; }

.location-search-group {
    display: flex;
    flex: 1;
    min-width: 200px;
    gap: 0;
}

.location-search-input {
    flex: 1;
    padding: 7px 12px;
    font-size: 0.88rem;
    border: 1px solid rgba(60,50,40,0.2);
    border-right: none;
    border-radius: 100px 0 0 100px;
    background: #fff;
    color: #2C2A26;
    outline: none;
}

.location-search-input:focus { border-color: #3A6B8A; }

.btn-location-search {
    padding: 7px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    background: #fff;
    color: #3A6B8A;
    border: 1px solid rgba(60,50,40,0.2);
    border-left: none;
    border-radius: 0 100px 100px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.btn-location-search:hover { background: #3A6B8A; color: #fff; }
.btn-location-search:disabled { opacity: 0.6; cursor: not-allowed; }

.location-radius-select {
    padding: 7px 12px;
    font-size: 0.88rem;
    border: 1px solid rgba(60,50,40,0.2);
    border-radius: 100px;
    background: #fff;
    color: #2C2A26;
    cursor: pointer;
    flex-shrink: 0;
}

.location-save-wrap { align-items: center; flex-shrink: 0; }

.location-save-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #7A7368;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

.location-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin: 0 0 14px;
    border-radius: 0 6px 6px 0;
}

.location-notice-icon {
    font-size: 1.05rem;
    line-height: 1.35;
    flex-shrink: 0;
}

.location-notice-body { min-width: 0; }

.location-notice-title {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.location-notice-text {
    margin: 4px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
}

.location-notice--warn {
    background: #FFF3DC;
    border: 1px solid #E0B457;
    border-left: 5px solid #C98A16;
    color: #5A4212;
}
.location-notice--warn .location-notice-icon { color: #C98A16; }

.location-notice--set {
    background: #EEF5F0;
    border: 1px solid #B9CFC0;
    border-left: 5px solid #789D81;
    color: #3B4A40;
}
.location-notice--set .location-notice-icon { color: #789D81; }

.newcomer-note-wrap {
    position: relative;
    background: linear-gradient(160deg, #f5ecd4 0%, #ede0bc 40%, #f0e6c8 70%, #e8d9ae 100%);
    padding: 28px 18px;
    margin: 8px 0;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.18), inset 0 0 30px rgba(180,140,60,0.08);
}

.newcomer-note-wrap::before {
    content: '';
    display: block;
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath fill='%23ede0bc' d='M0,16 L0,7 L8,10 L18,4 L28,11 L40,3 L50,9 L62,2 L74,8 L84,1 L96,7 L108,0 L118,6 L130,1 L142,8 L152,2 L164,9 L174,3 L186,10 L198,4 L210,11 L220,5 L232,12 L242,2 L254,9 L266,1 L276,7 L288,0 L298,6 L310,1 L322,8 L332,2 L344,9 L354,3 L366,10 L376,4 L388,11 L400,5 L400,16 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

.newcomer-note-wrap::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath fill='%23e8d9ae' d='M0,0 L0,9 L8,6 L18,12 L28,5 L40,13 L50,7 L62,14 L74,8 L84,15 L96,9 L108,16 L118,10 L130,15 L142,8 L152,14 L164,7 L174,13 L186,6 L198,12 L210,5 L220,11 L232,4 L242,14 L254,7 L266,15 L276,9 L288,16 L298,10 L310,15 L322,8 L332,14 L344,7 L354,13 L366,6 L376,12 L388,5 L400,11 L400,0 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

.newcomer-note-heading {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #5C3D1E;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.newcomer-note-para {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3B2A14;
    margin-bottom: 0.6em;
}

@media (max-width: 768px) {
    .location-bar-inner { flex-direction: column; align-items: stretch; }
    .btn-location-geo { justify-content: center; }
    .location-search-group { min-width: 0; }
    .location-radius-select { width: 100%; }
}

.anonymity-note {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f6f1;
    border-radius: 4px;
    padding: 6px 10px;
    margin-top: 4px;
    list-style: none;
}

.hosting-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    color: #2C2A26;
}

.hosting-page .page-title-block {
    margin-bottom: 26px;
    padding-bottom: 32px;
    border-bottom: 2px solid #e8e4df;
}

.hosting-page .page-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C4A46A;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.hosting-page h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    color: #1A1816;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.hosting-page .page-intro {
    font-size: 18px;
    line-height: 1.75;
    color: #5a5a5a;
    font-weight: 300;
    font-family: Georgia, serif;
}

.hosting-page .content-section {
    margin-bottom: 26px;
}

.hosting-page h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 14px;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
    padding-left: 14px;
    border-left: 3px solid #C4A46A;
}

.hosting-page h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 10px;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
}

.hosting-page p {
    font-size: 16px;
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 18px;
    font-family: Georgia, serif;
}

.hosting-page p:last-child {
    margin-bottom: 0;
}

.hosting-page a {
    color: #3A6B8A;
    text-decoration: underline;
}

.hosting-page a:hover {
    color: #2a4f6a;
}

.responsibility-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.responsibility-item {
    padding: 32px 40px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
}

.responsibility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.responsibility-item:nth-child(1)::before { background: #5C7A5E; }
.responsibility-item:nth-child(2)::before { background: #C4884A; }
.responsibility-item:nth-child(3)::before { background: #3A6B8A; }
.responsibility-item:nth-child(4)::before { background: #7A5C8A; }
.responsibility-item:nth-child(5)::before { background: #4A7A8A; }

.responsibility-item h3 {
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    color: #1A1816;
    margin-bottom: 14px;
    font-family: Georgia, serif;
    line-height: 1.3;
}

.responsibility-item p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: #2C2A26;
    font-family: Georgia, serif;
    margin-bottom: 14px;
}

.responsibility-item p:last-child {
    margin-bottom: 0;
}

.meeting-types-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.meeting-type-card {
    padding: 28px 32px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
}

.meeting-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.meeting-type-card:nth-child(1)::before  { background: #5C7A5E; }
.meeting-type-card:nth-child(2)::before  { background: #3A6B8A; }
.meeting-type-card:nth-child(3)::before  { background: #C4884A; }
.meeting-type-card:nth-child(4)::before  { background: #7A5C8A; }
.meeting-type-card:nth-child(5)::before  { background: #5C7A5E; }
.meeting-type-card:nth-child(6)::before  { background: #3A6B8A; }
.meeting-type-card:nth-child(7)::before  { background: #C4884A; }
.meeting-type-card:nth-child(8)::before  { background: #7A5C8A; }
.meeting-type-card:nth-child(9)::before  { background: #5C7A5E; }
.meeting-type-card:nth-child(10)::before { background: #3A6B8A; }
.meeting-type-card:nth-child(11)::before { background: #C4884A; }

.meeting-type-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.meeting-type-card p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #2C2A26;
    font-family: Georgia, serif;
    margin: 0;
}

.hosting-page .standard-list {
    margin: 16px 0 20px 0;
    padding-left: 24px;
}

.hosting-page .standard-list li {
    font-size: 16px;
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.hosting-page .standard-list li:last-child {
    margin-bottom: 0;
}

.hosting-page .section-divider {
    border: none;
    border-top: 1px solid #e8e4df;
    margin: 24px 0;
}

.hosting-page .cta-block,
.hosting-page .content-section:last-child {
    margin-top: 0;
}

.hosting-page .content-section:last-child p {
    margin-bottom: 20px;
}

.hosting-page .content-section:last-child .btn {
    margin-top: 8px;
}

@media (max-width: 640px) {
    .hosting-page {
        padding: 40px 20px 80px;
    }

    .responsibility-item {
        padding: 24px 20px;
    }

    .meeting-type-card {
        padding: 24px 20px;
    }
}

#it_health {
    max-width: 860px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

#it_health h1 {
    color: #3A6B8A;
    margin-bottom: 12px;
}

.it-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3A6B8A;
}

.it-bar {
    display: inline-block;
    height: 12px;
    background: #3A6B8A;
    border-radius: 3px;
    vertical-align: middle;
}

.it-log {
    background: #1e1e1e;
    color: #d4d4d4;
    font-size: 0.75rem;
    padding: 12px;
    border-radius: 6px;
    max-height: 320px;
    overflow: auto;
}
#loginForm {
  display: flex;
  justify-content: center; 
  align-items: center; 
  min-height: 100vh; 
  margin: 0; 
  background-color: #f5f5f5; 
}

#loginForm .wrapper {
  margin: 40px;
}

#loginForm .form-signin {
  max-width: 380px;
  padding: 15px 35px 45px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 3rem 5rem -2rem rgba(0, 0, 0, 0.2);
  border-radius: 8px; 
}

#loginForm .form-control {
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  height: auto;
  border-radius: 4px;
  background-color: #FFFDF9;
  color: #2C2A26;
  border: 1px solid rgba(60,50,40,0.2);
}

#loginForm .inner-addon {
  position: relative;
  align-items: center; 
}

#loginForm .inner-addon i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #6c757d;
}

#loginForm .inner-addon input {
  padding-left: 40px; 
}

#loginForm .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
}

#loginForm .form-check-label {
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

#loginForm .form-signin input {
  margin-bottom: 15px;
}

#loginForm .form-signin .forgot-password {
  display: block;
  font-size: 12px;
  color: #3A6B8A;
  text-decoration: underline;
  margin-top: -8px;
  margin-bottom: 30px;
}

#loginForm .account-signup {
  background-color: rgba(60,50,40,0.04);
  text-align: center;
  padding: 10px 0;
}

#loginForm .account-signup a {
  color: #3A6B8A;
  text-decoration: underline;
  font-weight: bold;
}

#loginForm .account-signup a:hover {
  color: #2a4f6a;
}

#meeting_info {
    max-width: 640px;
    margin: 32px auto 80px;
    padding: 0 16px;
}

#meeting_info h1 {
    color: #3A6B8A;
}

.mi-jump {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.mi-jump a {
    padding: 6px 12px;
    border: 1px solid #3A6B8A;
    border-radius: 16px;
    color: #3A6B8A;
    text-decoration: none;
    font-size: 0.9rem;
}

.mi-jump-disruption {
    border-color: #C96F4A !important;
    color: #C96F4A !important;
    font-weight: 600;
}

.mi-section {
    margin-bottom: 36px;
    scroll-margin-top: 64px;
}

.mi-section h2 {
    color: #3A6B8A;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.mi-script {
    background: #f8f6f1;
    border-left: 4px solid #3A6B8A;
    border-radius: 6px;
    padding: 16px 18px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mi-top-group {
    border: 1px solid #d0ccc6;
    border-radius: 8px;
    margin-bottom: 16px;
}

.mi-top-group > summary {
    font-weight: 600;
    cursor: pointer;
    color: #3A6B8A;
    padding: 12px 16px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mi-top-group > summary::before {
    content: '▶';
    font-size: 0.65rem;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.mi-top-group[open] > summary::before {
    transform: rotate(90deg);
}

.mi-format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    padding: 4px 16px 16px;
}

.mi-format-card {
    --fmt-accent: var(--boh-blue);
    background: var(--boh-bg-cream);
    border: 1px solid var(--boh-border);
    border-top: 3px solid var(--fmt-accent);
    border-radius: 8px;
    padding: 14px 16px;
}

.mi-format-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--fmt-accent);
}

.mi-format-card strong a {
    color: inherit;
    text-decoration: none;
}

.mi-format-card strong a:hover {
    text-decoration: underline;
}

.mi-format-card p {
    margin: 0;
    color: var(--boh-text-body);
    font-size: 0.9rem;
    line-height: 1.55;
}

.mi-format-card:nth-child(6n+2) { --fmt-accent: var(--boh-amber); }
.mi-format-card:nth-child(6n+3) { --fmt-accent: var(--boh-sage-dark); }
.mi-format-card:nth-child(6n+4) { --fmt-accent: var(--boh-purple); }
.mi-format-card:nth-child(6n+5) { --fmt-accent: var(--boh-teal); }
.mi-format-card:nth-child(6n)   { --fmt-accent: var(--boh-amber-dark); }

.mi-rules-group {
    border: 1px solid #e8e2d8;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 10px 14px;
}

.mi-rules-group summary {
    font-weight: 600;
    cursor: pointer;
    color: #3A4A5A;
}

.mi-rules-group ul {
    margin: 10px 0 4px;
}

.mi-rules-group li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.mi-disruption h2 {
    color: #C96F4A;
}

.mi-playbook li {
    margin-bottom: 14px;
    line-height: 1.6;
}

.mi-warning {
    background: #FBF3EC;
    border: 1px solid #C96F4A;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 16px;
}

.mi-warning h3 {
    font-size: 1rem;
    color: #C96F4A;
    margin-bottom: 8px;
}

.mi-warning--privacy {
    background: #EFF4F8;
    border-color: #3A6B8A;
}

.mi-warning--privacy h3 {
    color: #3A6B8A;
}

@media print {
    .mi-jump, nav, footer { display: none !important; }
}

.mission-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 60px;
    color: #2C2A26;
}

.mission-page .bridge-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 48px 0 16px;
    border-bottom: 1px solid rgba(60,50,40,0.15);
}

.mission-page .eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7A7368;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.mission-page h1.page-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, 'Source Sans Pro', serif;
}

.mission-page h1.page-title em {
    font-style: italic;
}

.mission-page .header-lede {
    font-size: 18px;
    font-style: italic;
    color: #7A7368;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: Georgia, serif;
}

.mission-page .ornament {
    display: block;
    text-align: center;
    color: #A89F94;
    font-size: 16px;
    letter-spacing: 0.5em;
    margin: 36px 0;
}

.mission-page .opening-block {
    margin-bottom: 56px;
}

.mission-page .opening-block p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 24px;
    color: #2C2A26;
    font-family: Georgia, serif;
}

.mission-page .mission-section {
    margin-bottom: 48px;
    padding: 40px 48px;
    background: #FFFDF9;
    border: 1px solid rgba(60,50,40,0.12);
    border-radius: 3px;
    position: relative;
}

.mission-page .mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.mission-page .mission-section-one::before   { background: #5C7A5E; }
.mission-page .mission-section-two::before   { background: #3A6B8A; }
.mission-page .mission-section-three::before { background: #C4884A; }
.mission-page .mission-section-four::before  { background: #7A5C8A; }
.mission-page .mission-section-five::before  { background: #4A7A8A; }

.mission-page .section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.mission-page .mission-section-one   .section-label { color: #5C7A5E; }
.mission-page .mission-section-two   .section-label { color: #3A6B8A; }
.mission-page .mission-section-three .section-label { color: #C4884A; }
.mission-page .mission-section-four  .section-label { color: #7A5C8A; }
.mission-page .mission-section-five  .section-label { color: #4A7A8A; }

.mission-page .section-title {
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #1A1816;
    font-family: Georgia, serif;
}

.mission-page .mission-section p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #2C2A26;
    font-family: Georgia, serif;
    background: none;
}

.mission-page .mission-section p:last-child {
    margin-bottom: 0;
}

.mission-page .mission-section strong {
    font-style: italic;
    font-weight: 500;
}

.mission-page .db-content {
    font-size: 19px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.85;
    color: #1A1816;
    border-left: 3px solid rgba(60,50,40,0.15);
    padding-left: 24px;
    margin: 28px 0;
    font-family: Georgia, serif;
}

.mission-page .trauma-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

.mission-page .trauma-list li {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: #2C2A26;
    font-family: Georgia, serif;
    padding: 16px 0;
    border-bottom: 1px solid rgba(60,50,40,0.08);
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.mission-page .trauma-list li:last-child {
    border-bottom: none;
}

.mission-page .trauma-letter {
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    color: #4A7A8A;
    font-family: Georgia, serif;
    min-width: 28px;
    line-height: 1;
}

.mission-page .trauma-word {
    font-weight: 500;
    font-style: normal;
    color: #1A1816;
}

.mission-page .commitments-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.mission-page .commitments-list li {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: #2C2A26;
    font-family: Georgia, serif;
    padding: 14px 0 14px 20px;
    border-bottom: 1px solid rgba(60,50,40,0.08);
    position: relative;
}

.mission-page .commitments-list li:last-child {
    border-bottom: none;
}

.mission-page .commitments-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C4884A;
}

.mission-page .commitment-label {
    font-weight: 500;
    font-style: normal;
    color: #1A1816;
}

.mission-page .mission-cta-inline {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(60,50,40,0.1);
    text-align: center;
}

.mission-page .pull-quote {
    margin: 48px 0 0;
    padding: 36px 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
    border-bottom: 1px solid rgba(60,50,40,0.15);
    text-align: center;
}

.mission-page .pull-quote p {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    color: #1A1816;
    line-height: 1.55;
    margin: 0;
    font-family: Georgia, serif;
    background: none;
}

.mission-page .closing-block {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(60,50,40,0.15);
}

.mission-page .closing-block p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 22px;
    color: #2C2A26;
    font-family: Georgia, serif;
    background: none;
}

.mission-page .closing-block .final-line {
    font-size: 20px;
    font-style: italic;
    color: #1A1816;
}

@media (max-width: 600px) {
    .mission-page { padding: 40px 20px 80px; }
    .mission-page .mission-section { padding: 28px 24px; }
    .mission-page .pull-quote { padding: 28px 24px; }
    .mission-page .trauma-list li { gap: 14px; }
    .mission-page .trauma-letter { font-size: 22px; min-width: 22px; }
}

#my_meetings {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.my-meeting-card {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.my-meeting-main {
    flex: 1 1 0;
    min-width: 0;
}

.my-meeting-script-panel {
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.my-meeting-attendees-panel {
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.mm-attendees-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 6px;
}

.mm-attendees-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mm-attendee {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 100px;
    background: #F4F1EA;
    border: 1px solid rgba(60, 50, 40, 0.12);
}

.mm-attendee-name {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mm-attendee-since {
    font-size: 0.72rem;
    color: #7A7368;
    white-space: nowrap;
}

.mm-attendees-note {
    font-size: 0.78rem;
    color: #7A7368;
    margin: 0;
}

.mi-script-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 16px 0 4px;
}

.mi-script-middle {
    color: #777;
    font-style: italic;
}

.mi-boundaries-list {
    padding-left: 1.25rem;
    margin-bottom: 4px;
}

.my-meeting-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.my-meeting-title {
    font-size: 1.1rem;
}

.my-meeting-status {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active { background: #e3f5e9; color: #1e7c41; }
.status-break  { background: #e8f1fa; color: #2a5d8f; }
.status-paused { background: #f5e9e3; color: #8f5d2a; }

.my-meeting-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--boh-text-body);
}

.my-meeting-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.my-meeting-demo[hidden] {
    display: none;
}

.rascal-demo[hidden] {
    display: none;
}

.rascal-demo-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 0 0 4px;
}

.rascal-demo .ma-card,
.rascal-demo .cs-item,
.rascal-demo .rec-card,
.rascal-demo .hp-effect-card,
.rascal-demo .goal-card {
    border: 1px dashed var(--boh-border, #e2d9cc);
    background: #fbf9f5;
}

.rascal-demo {
    margin-bottom: 18px;
}

.rascal-demo .rec-card,
.rascal-demo .hp-effect-card,
.rascal-demo .goal-card {
    max-width: 420px;
    cursor: default;
}

.rascal-demo .lib-book-card {
    border: 1px dashed var(--boh-border, #e2d9cc);
    background: #fbf9f5;
}

.rascal-demo .btn,
.rascal-demo .ma-pass-link,
.rascal-demo .form-check-input {
    pointer-events: none;
}

.rascal-demo .rec-card-icon-btn,
.rascal-demo .rec-card-checkin-btn,
.rascal-demo .hp-dismiss-btn {
    pointer-events: none;
}

.rascal-demo--admin {
    pointer-events: none;
}

.rascal-demo--admin .aq-card,
.rascal-demo--admin .review-card,
.rascal-demo--admin .kanban-card,
.rascal-demo--admin .card,
.rascal-demo--admin .tq-row,
.rascal-demo--admin .patient-row,
.rascal-demo--admin .patient-item,
.rascal-demo--admin .pending-invite-row,
.rascal-demo--admin .kb-item,
.rascal-demo--admin .itl-entry,
.rascal-demo--admin .itl-log,
.rascal-demo--admin .it-log,
.rascal-demo--admin .rp-decision-card,
.rascal-demo--admin .ma-card,
.rascal-demo--admin .admin-table-wrap,
.rascal-demo--admin .table-responsive,
.rascal-demo--admin > ul {
    border: 1px dashed var(--boh-border, #e2d9cc);
    background: #fbf9f5;
}

.rascal-demo--admin > ul,
.rascal-demo--admin .table-responsive {
    border-radius: 8px;
    padding: 10px 12px 10px 28px;
}

.rascal-demo--admin .table-responsive {
    padding: 4px 8px;
}

.rascal-demo--admin .patient-row {
    width: 100%;
}

/* Cards that ship collapsed stay open in an example, since nothing in an
   example can be clicked to expand it. */
.rascal-demo--admin .aq-collapse,
.rascal-demo--admin .it-collapse,
.rascal-demo--admin .review-corrob-list {
    display: block !important;
}

.rascal-demo--admin .review-corrob-list[hidden],
.rascal-demo--admin .itl-entry-detail.d-none,
.rascal-demo--admin .il-marks.d-none,
.rascal-demo--admin .aa-record.d-none {
    display: block !important;
}

/* Everything in an example is disabled so a click cannot reach an API. Disabled
   controls in the dark Bootstrap theme render as heavy filled blocks, which is
   not what the page looks like in use, so put them back to their normal look. */
.rascal-demo--admin .btn:disabled,
.rascal-demo--admin .form-control:disabled,
.rascal-demo--admin .form-select:disabled,
.rascal-demo--admin .form-check-input:disabled,
.rascal-demo--admin textarea:disabled,
.rascal-demo--admin input:disabled,
.rascal-demo--admin select:disabled {
    opacity: 0.9;
    background-color: #fbf9f5;
    color: var(--boh-text, #3c322a);
    -webkit-text-fill-color: var(--boh-text, #3c322a);
}

.rascal-demo--admin .btn:disabled {
    background-color: inherit;
}

.my-meeting-demo-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 0 0 4px;
}

.my-meeting-demo .my-meeting-card {
    border-style: dashed;
    background: #fbf9f5;
}

.my-meetings-empty {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

@media (max-width: 600px) {
    .my-meeting-card {
        flex-direction: column;
        align-items: stretch;
    }
    .my-meeting-actions {
        justify-content: flex-end;
    }
}

.my-meetings-venue-note {
    background: #f4f0ea;
    border-left: 4px solid #5C7A5E;
    border-radius: 6px;
    padding: 12px 14px;
    margin-top: 18px;
}

.my-meetings-hosting-info {
    background: #f4f0ea;
    border-left: 4px solid #3A6B8A;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 6px 0 18px;
}

.my-meetings-hosting-info .btn {
    margin-top: 4px;
    margin-right: 6px;
}

.host-vacation-section {
    background: #f4f0ea;
    border-left: 4px solid var(--boh-red);
    border-radius: 6px;
    padding: 12px 14px;
    margin: 6px 0 18px;
}

.host-vacation-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.host-vacation-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.host-vacation-form .btn {
    align-self: flex-start;
    width: auto;
}

@media (min-width: 600px) {
    .host-vacation-form {
        flex-direction: row;
        align-items: flex-end;
    }
    .host-vacation-field {
        flex: 0 1 220px;
    }
    .host-vacation-form .btn {
        align-self: auto;
        margin-bottom: 0;
    }
}

.host-vacation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
}

.host-vacation-item .btn {
    width: auto;
    flex-shrink: 0;
}

#my_profile {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
}

.profile-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.profile-section h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.profile-value {
    margin-bottom: 8px;
}

.profile-password-form {
    max-width: 360px;
}

.profile-hosting-status {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.profile-hosting-good {
    background: #f0faf3;
    border: 1px solid #b6e3c4;
}

.profile-hosting-marked {
    background: #fffbf0;
    border: 1px solid #f0d58a;
}

.profile-hosting-suspended {
    background: #fdf3f3;
    border: 1px solid #e8b4b4;
}

.profile-hosting-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    padding-top: 1px;
}

.profile-hosting-good .profile-hosting-icon    { color: #2d8a4e; }
.profile-hosting-marked .profile-hosting-icon  { color: #9a7a00; }
.profile-hosting-suspended .profile-hosting-icon { color: #b03535; }

.profile-hosting-heading {
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-hosting-good .profile-hosting-heading    { color: #1e6b3a; }
.profile-hosting-marked .profile-hosting-heading  { color: #7a5e00; }
.profile-hosting-suspended .profile-hosting-heading { color: #8a2020; }

.profile-hosting-sub {
    font-size: 0.82rem;
    margin-top: 2px;
}

.profile-hosting-good .profile-hosting-sub    { color: #4a8060; }
.profile-hosting-marked .profile-hosting-sub  { color: #8a6e00; }
.profile-hosting-suspended .profile-hosting-sub { color: #943030; }

.profile-therapist-status {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.profile-therapist-verified {
    background: #f0faf3;
    border: 1px solid #b6e3c4;
}

.profile-therapist-pending {
    background: #fffbf0;
    border: 1px solid #f0d58a;
}

.profile-therapist-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    padding-top: 1px;
}

.profile-therapist-verified .profile-therapist-icon { color: #2d8a4e; }
.profile-therapist-pending .profile-therapist-icon  { color: #9a7a00; }

.profile-therapist-heading {
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-therapist-verified .profile-therapist-heading { color: #1e6b3a; }
.profile-therapist-pending .profile-therapist-heading  { color: #7a5e00; }

.profile-therapist-sub {
    font-size: 0.82rem;
    margin-top: 2px;
}

.profile-therapist-verified .profile-therapist-sub { color: #4a8060; }
.profile-therapist-pending .profile-therapist-sub  { color: #8a6e00; }

.profile-requests-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 12px;
}

.profile-requests-toggle {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: inherit;
    font-size: 0.9rem;
    text-align: left;
}

.profile-requests-toggle:hover { color: var(--bs-link-color, #0d6efd); }

.profile-requests-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.profile-requests-chevron.rotated { transform: rotate(90deg); }

.profile-requests-count {
    font-size: 0.78rem;
    background: #e5e5e5;
    border-radius: 10px;
    padding: 1px 7px;
    color: #555;
    font-weight: 500;
}

.profile-requests-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-request-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 0.85rem;
}

.profile-request-label { color: #333; }

.profile-request-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #666;
    font-size: 0.8rem;
}

.profile-request-status {
    font-weight: 500;
    font-size: 0.78rem;
    padding: 1px 7px;
    border-radius: 10px;
}

.profile-request-status.handled { background: #d4edda; color: #1e6b3a; }
.profile-request-status.pending { background: #e5e5e5; color: #555; }

.profile-standing-clear {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0faf3;
    border: 1px solid #b6e3c4;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 4px;
}

.profile-standing-clear-icon {
    font-size: 1.6rem;
    color: #2d8a4e;
    flex-shrink: 0;
}

.profile-standing-clear-heading {
    font-weight: 600;
    color: #1e6b3a;
    font-size: 0.95rem;
}

.profile-standing-clear-sub {
    font-size: 0.82rem;
    color: #4a8060;
    margin-top: 2px;
}

.profile-standing-marked {
    background: #fff8f0;
    border: 1px solid #f0c08a;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 4px;
}

.profile-standing-marked-header {
    font-weight: 600;
    color: #9a5b00;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-mark-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.profile-mark-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff3e0;
    border: 1px solid #f0c08a;
    border-radius: 6px;
    padding: 8px 12px;
}

.profile-mark-icon {
    color: #c07000;
    font-size: 0.85rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.profile-mark-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-mark-label {
    font-size: 0.88rem;
    color: #5c3d00;
    font-weight: 500;
}

.profile-mark-decay {
    font-size: 0.78rem;
    color: #9a6600;
}

.profile-standing-marked-note {
    font-size: 0.8rem;
    color: #9a6600;
    margin-bottom: 0;
}

.profile-danger {
    border-color: #e3b9b9;
}

.participation-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 60px;
    color: #2b2f34;
}

.participation-page .bridge-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 48px 0 16px;
    border-bottom: 1px solid rgba(60,50,40,0.15);
}

.participation-page .bridge-header .eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7A7368;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.participation-page .bridge-header h1.page-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1A1816;
    font-family: Georgia, serif;
}

.participation-page .bridge-header h1.page-title em {
    font-style: italic;
    color: #5C6BC0;
}

.participation-page .bridge-header .header-lede {
    font-size: 17px;
    font-weight: 300;
    color: #5A5650;
    font-family: Georgia, serif;
    margin: 0;
}

.participation-page .page-title-block {
    margin-bottom: 52px;
    padding-bottom: 32px;
    border-bottom: 2px solid #e8e4df;
}

.participation-page .page-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C4A46A;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.participation-page h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    color: #1A1816;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.participation-page .page-intro {
    font-size: 18px;
    line-height: 1.75;
    color: #5a5a5a;
    font-weight: 300;
    font-family: Georgia, serif;
}

.participation-page .content-section {
    margin-bottom: 24px;
}

.participation-page h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 14px;
    margin-top: 36px;
    font-family: 'Poppins', sans-serif;
    padding-left: 14px;
    border-left: 3px solid #C4A46A;
}

.participation-page h2:first-child {
    margin-top: 0;
}

.participation-page p {
    font-size: 16px;
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 18px;
    background: none;
    font-family: Georgia, serif;
}

.participation-page p:last-child {
    margin-bottom: 0;
}

.participation-page em {
    font-style: italic;
    color: #2b2f34;
}

.participation-page strong {
    font-weight: 600;
    color: #1A1816;
}

.participation-page a {
    color: #3A6B8A;
    text-decoration: underline;
}

.participation-page a:hover {
    color: #2a4f6a;
}

.participation-page a.btn-path {
    color: inherit;
    text-decoration: none;
}

.participation-section {
    margin-bottom: 16px;
    border: 1px solid #e0dbd4;
    border-radius: 6px;
    overflow: hidden;
}

.participation-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: #faf9f7;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.participation-section-toggle:hover {
    background: #f3f0eb;
}

.participation-section-toggle[aria-expanded="true"] {
    background: var(--boh-bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.participation-section-toggle[aria-expanded="true"] .participation-section-title,
.participation-section-toggle[aria-expanded="true"] .participation-section-sub {
    color: var(--boh-text-on-dark);
}

.participation-section-toggle[aria-expanded="true"] .participation-section-icon {
    color: var(--boh-gold);
}

.participation-section-toggle[aria-expanded="true"] .participation-section-chevron {
    color: var(--boh-gold);
    transform: rotate(180deg);
}

.participation-section-toggle-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.participation-section-icon {
    font-size: 1.6rem;
    color: #3A6B8A;
    flex-shrink: 0;
    transition: color 0.15s;
}

.participation-section-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.participation-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1816;
    transition: color 0.15s;
}

.participation-section-sub {
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 300;
    color: #5A5650;
    transition: color 0.15s;
}

.participation-section-chevron {
    font-size: 1rem;
    color: #A89F94;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.15s;
}

.participation-section-body {
    padding: 32px 28px 8px;
    border-top: 3px solid var(--boh-gold);
}

.participation-link-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.participation-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #faf9f7;
    border: 1px solid #e0dbd4;
    border-left: 4px solid #3A6B8A;
    border-radius: 0 4px 4px 0;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.15s, border-left-color 0.15s;
}

.participation-link-card:hover {
    background: #f3f0eb;
    border-left-color: #C4884A;
}

.participation-link-card:nth-child(2) { border-left-color: #5C7A5E; }
.participation-link-card:nth-child(2):hover { border-left-color: #C4884A; }
.participation-link-card:nth-child(3) { border-left-color: #7A5C8A; }
.participation-link-card:nth-child(3):hover { border-left-color: #C4884A; }

.participation-link-card-text {
    flex: 1;
}

.participation-link-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 3px;
}

.participation-link-card-desc {
    font-family: Georgia, serif;
    font-size: 14px;
    color: #5A5650;
    line-height: 1.5;
}

.participation-link-card-arrow {
    margin-left: auto;
    color: #A89F94;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.participation-link-cards + * { margin-top: 0; }

.professional-note {
    margin: 40px 0 8px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(92,107,192,0.06) 0%, rgba(58,107,138,0.06) 100%);
    border: 1px solid rgba(92,107,192,0.2);
    border-top: 4px solid #5C6BC0;
    border-radius: 0 0 6px 6px;
}

.professional-note-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5C6BC0;
    margin-bottom: 20px;
}

.professional-note-eyebrow i {
    font-size: 1.1rem;
}

.professional-note p {
    font-size: 16px !important;
    color: #2C2A26 !important;
    line-height: 1.85;
    margin-bottom: 16px !important;
}

.professional-note p:last-child {
    margin-bottom: 0 !important;
}

.professional-note-cta {
    font-style: italic;
    color: #3A6B8A !important;
    border-top: 1px solid rgba(92,107,192,0.15);
    padding-top: 16px;
    margin-top: 8px !important;
}

.participation-notice {
    margin: 28px 0 8px;
    padding: 24px 28px;
    background: rgba(196,136,74,0.08);
    border-left: 4px solid #C4884A;
    border-radius: 0 4px 4px 0;
}

.participation-notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C4884A;
    margin-bottom: 12px;
}

.participation-notice-header i {
    font-size: 1rem;
}

.participation-notice p {
    font-size: 15px !important;
    color: #4A3F30 !important;
    margin-bottom: 0 !important;
    line-height: 1.8;
}

.participation-trauma-grid {
    margin: 20px 0 24px;
}
.participation-trauma-grid .trauma-card-grid {
    max-width: 100%;
    gap: 10px;
}
.participation-trauma-grid .trauma-card-img {
    height: 100px;
}
.participation-trauma-grid .trauma-card-letter {
    font-size: 24px;
}
.participation-trauma-grid .trauma-card-body {
    padding: 10px 12px 14px;
    gap: 4px;
}
.participation-trauma-grid .trauma-card-name {
    font-size: 13px;
}
.participation-trauma-grid .trauma-card-desc {
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .participation-page {
        padding: 0 16px 40px;
    }
    .participation-section-toggle {
        padding: 18px 16px;
    }
    .participation-section-toggle-inner {
        gap: 12px;
    }
    .participation-section-icon {
        font-size: 1.3rem;
    }
    .participation-section-title {
        font-size: 1rem;
    }
    .participation-section-sub {
        font-size: 13px;
    }
    .participation-section-body {
        padding: 20px 16px 8px;
    }
    .participation-trauma-grid .trauma-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .participation-trauma-grid .trauma-card-img {
        height: 80px;
    }
    .participation-trauma-grid .trauma-card-name {
        font-size: 12px;
    }
    .participation-trauma-grid .trauma-card-desc {
        display: none;
    }
}

.participation-page .step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.participation-page .step-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 24px 28px;
    background: #FDFBF8;
    border: 1px solid #e8e4df;
    border-radius: 4px;
}

.participation-page .step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #C4A46A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-top: 2px;
}

.participation-page .step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1816;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.participation-page .step-content p {
    font-size: 15px;
    margin-bottom: 0;
    color: #4a4a4a;
}

.participation-page .info-box {
    background: #F4F0EA;
    border-left: 4px solid #C4A46A;
    border-radius: 0 4px 4px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.participation-page .info-box p {
    margin-bottom: 0;
    font-size: 15px;
    color: #3a3a3a;
}

.participation-page .gated-box {
    background: #EFF5F9;
    border: 1px solid #c8dce8;
    border-radius: 4px;
    padding: 24px 28px;
    margin: 28px 0;
    text-align: center;
}

.participation-page .gated-box p {
    color: #3A6B8A;
    margin-bottom: 16px;
    font-size: 15px;
}

.participation-page .section-divider {
    border: none;
    border-top: 1px solid #e8e4df;
    margin: 24px 0;
}

.participation-page .key-command {
    display: inline-block;
    background: #2b2f34;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 3px;
    margin: 0 2px;
}

.platform-setup {
    margin: 24px 0;
    border: 1px solid #e8e4df;
    border-radius: 4px;
    overflow: hidden;
}

.platform-setup-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #FDFBF8;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1A1816;
    gap: 12px;
    transition: background 0.15s ease;
}

.platform-setup-toggle:hover {
    background: #F4F0EA;
}

.platform-setup-toggle .toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-setup-toggle .toggle-icon {
    font-size: 18px;
    color: #C4A46A;
    flex-shrink: 0;
}

.platform-setup-toggle .toggle-arrow {
    font-size: 12px;
    color: #C4A46A;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.platform-setup-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

.platform-setup-body {
    display: none;
    padding: 0 24px 24px;
    background: #FFFDF9;
    border-top: 1px solid #e8e4df;
}

.platform-setup-body.open {
    display: block;
}

.platform-setup-body ol {
    margin: 20px 0 0;
    padding-left: 24px;
}

.platform-setup-body ol li {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.platform-setup-body ol li:last-child {
    margin-bottom: 0;
}

.platform-setup-body .setup-note {
    margin-top: 16px;
    padding: 14px 18px;
    background: #F4F0EA;
    border-left: 3px solid #C4A46A;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: #3a3a3a;
    font-family: Georgia, serif;
    font-style: italic;
    line-height: 1.7;
}

.participation-page .cta-block {
    margin-top: 52px;
    padding: 40px 36px;
    background: #1A1816;
    border-radius: 4px;
    text-align: center;
}

.participation-page .cta-block p {
    color: rgba(255,253,249,0.85);
    font-size: 17px;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

@media (max-width: 600px) {
    .participation-page { padding: 40px 20px 80px; }
    .participation-page .step-list li {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
    .platform-setup-toggle { padding: 14px 18px; }
    .platform-setup-body { padding: 0 18px 20px; }
}
#registrationContainer {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

#raccoonMessage {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

#rascalImage {
    max-width: 150px;
    margin-right: 20px;
    transition: transform 0.3s ease; 
}

#messageText {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #333;
}

#step2 #rascalImage {
    margin-left: 20px;
    margin-right: 0;
    transform: scaleX(-1); 
}

.step {
    display: none;
}

.step-content {
    text-align: left;
    margin-top: 10px;
}

#registrationContainer input:not([type="radio"]):not([type="checkbox"]) {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
}

#registrationContainer input::placeholder {
    color: #888; 
}

#registrationContainer input:focus {
    border-color: #3A6B8A;
    outline: none;
    box-shadow: 0 0 5px rgba(58,107,138,0.3);
}

#registrationContainer input.error {
    border-color: #dc3545;
    background-color: #f8d7da;
}

#navigationButtons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

#registrationContainer button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    background-color: #3A6B8A;
    transition: background-color 0.3s ease;
}

#registrationContainer button:hover:not(:disabled) {
    background-color: #2a4f6a;
}

#registrationContainer button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#submitForm {
    margin-top: 20px;
    width: 100%;
    background-color: #5C7A5E;
    transition: background-color 0.3s ease;
}

#submitForm:hover:not(:disabled) {
    background-color: #4a6349;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.step-indicator span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

.step-indicator .active {
    background-color: #3A6B8A;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.verify-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.verify-inline .d-flex {
    justify-content: center;
    align-items: stretch;
}

.verify-inline #inlineEmailCode {
    height: 48px;
    width: 160px;
    flex-shrink: 0;
}

.verify-inline #inlineVerifyBtn {
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #raccoonMessage {
        flex-direction: column;
        align-items: center;
    }

    #rascalImage {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #step2 #rascalImage {
        margin-left: 0;
    }

    #navigationButtons {
        flex-direction: column;
    }

    #registrationContainer button {
        width: 100%;
        margin-bottom: 10px;
    }
}

.email-guidance {
    background: #f4f0ea;
    border-left: 4px solid #3A6B8A;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.email-guidance ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.email-guidance li {
    margin-bottom: 6px;
}

.registration-acks {
    margin: 18px 0 8px;
}

.registration-acks .acks-intro {
    font-size: 0.95rem;
    color: #5a5348;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ack-row {
    margin-bottom: 10px;
}

#registrationContainer .ack-open-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: #fff;
    color: inherit;
    border: 1px solid #d8d2c8;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#registrationContainer .ack-open-btn:hover:not(:disabled) {
    background: #fff;
    border-color: #3A6B8A;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

#registrationContainer .ack-row.agreed .ack-open-btn {
    border-color: #5C7A5E;
    background: #f4f7f3;
}

.ack-check {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #c3bcb0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.ack-row.agreed .ack-check {
    background: #5C7A5E;
    border-color: #5C7A5E;
}

.ack-row.agreed .ack-check::before {
    content: '\2713';
}

.ack-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.ack-title {
    font-weight: 600;
    font-size: 0.98rem;
    color: #2b2f34;
}

.ack-sub {
    font-size: 0.82rem;
    color: #7a7368;
    margin-top: 2px;
}

.ack-cta {
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #3A6B8A;
}

.ack-row.agreed .ack-cta {
    color: #5C7A5E;
}

.ack-modal .ack-doc {
    max-width: none;
    margin: 0;
    padding: 0;
}

.ack-modal .modal-dialog {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.ack-modal .ack-modal-footer {
    justify-content: space-between;
    gap: 10px;
}

.ack-scroll-hint {
    margin: 0 auto 0 0;
    font-size: 0.85rem;
    font-style: italic;
    color: #a06a4b;
}

.prelaunch-wipe-banner {
    max-width: 560px;
    margin: 0 auto 18px;
    background: #FBF3EC;
    border: 1px solid #C96F4A;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.55;
}

#review_pool {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid #dde0e4;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid #f0ece6;
}

.review-category-badge {
    display: inline-block;
    background: #4A7A8A;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 20px;
    padding: 3px 10px;
}

.review-header-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #6c7580;
    background: #f4f6f8;
    border-radius: 20px;
    padding: 3px 10px;
}

.review-verdict-pip {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.event-therapist-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0d7a5f;
    background: #e8f7f3;
    border: 1px solid #a8ddd0;
    border-radius: 10px;
    padding: 1px 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.review-pip {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dde0e4;
    transition: background 0.15s;
}

.review-pip.filled {
    background: #4A7A8A;
}

.review-verdict-label {
    font-size: 0.75rem;
    color: #6c7580;
    margin-left: 4px;
    font-variant-numeric: tabular-nums;
}

.review-sys-findings {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #eef4f8;
    border-radius: 8px;
    padding: 8px 12px;
    color: #2a4f6a;
    font-size: 0.85rem;
    margin: 12px 0 4px;
}

.review-section {
    margin-top: 14px;
}

.review-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9B8E80;
    margin-bottom: 6px;
}

.review-pattern {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #6c7580;
    margin-bottom: 6px;
}

.review-details {
    white-space: pre-wrap;
    font-size: 0.93rem;
    line-height: 1.55;
    color: #2d2d2d;
}

.review-corrob-section {
    margin-top: 10px;
}

.review-corrob-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f4f6f8;
    border: 1px solid #dde0e4;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.83rem;
    color: #4A7A8A;
    cursor: pointer;
    transition: background 0.12s;
}

.review-corrob-toggle:hover {
    background: #e8f0f3;
}

.review-corrob-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.review-corrob-chevron.rotated {
    transform: rotate(90deg);
}

.review-corrob-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-corrob-item {
    background: #faf8f5;
    border-left: 3px solid #4A7A8A;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
}

.review-their-side {
    background: #f4f0ea;
    border-left: 4px solid #7A7368;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    font-size: 0.93rem;
}

.review-divider {
    border-color: #f0ece6;
    margin: 16px 0 12px;
}

.review-verdict-locked {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fdf6e3;
    border: 1px solid #e8d8a0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #7a6420;
}

.rp-decision-card {
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.rp-decision-confirmed {
    background: #fdf4f4;
    border-color: #e8c8c8;
}

.rp-decision-noaction {
    background: #f4f9f4;
    border-color: #c4dcc4;
}

.rp-decision-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.83rem;
}

.rp-decision-outcome {
    font-weight: 700;
    font-size: 0.82rem;
}

.rp-decision-confirmed .rp-decision-outcome { color: #8B3030; }
.rp-decision-noaction  .rp-decision-outcome { color: #2D6B3A; }

.rp-decision-chip {
    background: rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 0.78rem;
    color: #555;
}

.rp-decision-date {
    font-size: 0.78rem;
    color: #888;
}

.rp-tally {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.07);
}

.rp-tally-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9B8E80;
    margin-bottom: 6px;
}

.rp-tally-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.85rem;
    padding: 3px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.rp-tally-row:last-child { border-bottom: none; }

.rp-tally-rule { color: #2d2d2d; flex: 1; }

.rp-tally-votes {
    font-size: 0.78rem;
    color: #888;
    white-space: nowrap;
}

#right_now {
    max-width: 680px;
    margin: 32px auto 80px;
    padding: 0 16px;
}

#right_now h1 {
    color: #3A6B8A;
}

.rn-lead {
    font-size: 1.05rem;
    line-height: 1.6;
}

.rn-hotlines {
    background: #FBF3EC;
    border: 2px solid #C96F4A;
    border-radius: 10px;
    padding: 18px;
    margin: 20px 0 32px;
}

.rn-hotline-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.rn-hotline {
    flex: 1 1 240px;
    display: block;
    background: #fff;
    border: 1px solid #e3d4c8;
    border-radius: 8px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
}

.rn-hotline:hover {
    border-color: #C96F4A;
}

.rn-hotline-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #C96F4A;
}

.rn-hotline-label {
    font-size: 0.9rem;
    color: #555;
}

.rn-hotline-911 {
    margin: 4px 0 0;
    font-size: 0.9rem;
}

.rn-tools-heading {
    color: #3A6B8A;
    font-size: 1.2rem;
}

.rn-category {
    margin-bottom: 10px;
}

.rn-cat-toggle {
    width: 100%;
    text-align: left;
    background: #f4f0ea;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #3A4A5A;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s, border-color 0.15s;
}

.rn-cat-toggle:hover {
    background: #ebe5dc;
    border-color: #c8bfb0;
    color: #2a3a4a;
}

.rn-cat-toggle .rn-chev {
    margin-left: auto;
    transition: transform 0.15s;
}

.rn-cat-toggle.rn-open .rn-chev {
    transform: rotate(180deg);
}

.rn-cat-tools {
    padding: 8px 6px 2px;
}

.rn-tool-toggle {
    width: 100%;
    text-align: left;
    background: #fff;
    color: #3A4A5A;
    border: 1px solid #e8e2d8;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: background 0.15s, border-color 0.15s;
}

.rn-tool-toggle:hover {
    background: #f4f0ea;
    border-color: #c8bfb0;
    color: #1A1816;
}

.rn-timed {
    margin-left: auto;
    font-size: 0.82rem;
    color: #3A6B8A;
    white-space: nowrap;
}

.rn-tool-body {
    padding: 10px 14px 14px;
    background: #fbfaf7;
    border-radius: 6px;
    margin: -4px 0 10px;
}

.rn-instructions {
    line-height: 1.7;
    white-space: normal;
}

.rn-timer {
    margin-top: 10px;
}

.rn-timer-display {
    font-weight: 600;
    color: #3A6B8A;
}

.rn-evidence {
    font-size: 0.85rem;
    color: #777;
    margin: 10px 0 0;
}

.rn-helped {
    margin-top: 10px;
}

.rn-suggest {
    margin-top: 28px;
    padding: 14px 18px;
    background: #f0f4ff;
    border-left: 4px solid #6c8ebf;
    border-radius: 6px;
    font-size: .95rem;
    color: #444;
}
.rn-suggest p { margin: 0; }

.rn-footer-note {
    margin-top: 28px;
    color: #555;
    line-height: 1.6;
}

.nav-right-now {
    color: #C96F4A !important;
    font-weight: 600;
}

.nav-right-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: #E8230A;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    line-height: 1.4;
    box-shadow: 0 0 0 3px rgba(232, 35, 10, 0.25);
}

.nav-right-now-btn:hover {
    background: #c01c07;
    color: #fff !important;
    transform: scale(1.04);
    text-decoration: none;
    box-shadow: 0 0 0 4px rgba(232, 35, 10, 0.35);
}

.nav-right-now-btn .bi {
    font-size: 0.95rem;
}

#site_config {
    max-width: 760px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

#site_config h1 {
    color: #3A6B8A;
    margin-bottom: 12px;
}

.sc-field .form-label {
    text-transform: capitalize;
    margin-bottom: 4px;
}

.sc-diff {
    font-size: 0.9rem;
    line-height: 1.4;
}

.sc-old {
    background: #fdecea;
    text-decoration: line-through;
    padding: 1px 4px;
    border-radius: 3px;
}

.sc-new {
    background: #e7f4e9;
    padding: 1px 4px;
    border-radius: 3px;
}

.sc-arrow {
    margin: 0 6px;
    color: #6c757d;
}

#super_admin {
    max-width: 760px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

#super_admin h1 {
    color: #8a3a3a;
    margin-bottom: 12px;
}

.sa-matches {
    position: absolute;
    z-index: 10;
    width: calc(100% - 24px);
}

.sa-detail {
    border-left: 4px solid #8a3a3a;
}

#blockList .badge {
    font-size: 0.85rem;
    font-weight: 500;
}
#blockList .block-del {
    font-size: 0.5rem;
    padding: 0.15rem;
}

@supports selector(::details-content) {
	.warning {
		display: none;
	}
}

.trauma-cards-section {
    padding: 40px 20px 50px;
}

.trauma-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.trauma-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(60, 50, 40, 0.12);
    background: #FFFDF9;
    display: flex;
    flex-direction: column;
}

.trauma-card-img-wrap {
    position: relative;
}

.trauma-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.trauma-card-letter {
    position: absolute;
    bottom: 10px;
    left: 14px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.trauma-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trauma-card--trust        .trauma-card-body { background: var(--pillar-trust-bg); }
.trauma-card--resiliency   .trauma-card-body { background: var(--pillar-res-bg); }
.trauma-card--accountability .trauma-card-body { background: var(--pillar-acc-bg); }
.trauma-card--understanding .trauma-card-body { background: var(--pillar-und-bg); }
.trauma-card--mindfulness  .trauma-card-body { background: var(--pillar-min-bg); }
.trauma-card--action       .trauma-card-body { background: var(--pillar-act-bg); }

.trauma-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1A1816;
    margin: 0;
}

.trauma-card-desc {
    font-size: 13px;
    color: #4A4440;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .trauma-card-grid {
        grid-template-columns: 1fr;
    }
}

#my-service {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
}

.vol-section-title {
    font-size: 1.15rem;
    margin: 22px 0 10px;
}

.vol-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.vol-card-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .vol-card { flex-direction: column; align-items: stretch; }
    .vol-card-actions { justify-content: flex-end; }
}

.upcoming-meeting-item {
    padding: 8px 4px;
    border: none;
    border-bottom: 1px solid #f0ece6;
    background: transparent;
    cursor: pointer;
}
.upcoming-meeting-item:last-child { border-bottom: none; }
.upcoming-meeting-item:hover { background: rgba(0,0,0,0.04); }

.upcoming-meeting-time {
    display: block;
    font-size: 0.75rem;
    color: #7A7368;
    margin-top: 1px;
}

.upcoming-meeting-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
    color: #000;
}
.upcoming-meeting-badge.conference-line-meeting {
    background: var(--card3-gradient-color2);
}
.upcoming-meeting-badge.zoom-meeting {
    background: var(--card2-gradient-color2);
}
.upcoming-meeting-badge.in-person-meeting {
    background: var(--card1-gradient-color2);
}
.upcoming-meeting-badge.hybrid-meeting {
    background: var(--card4-gradient-color2);
}
.upcoming-meeting-badge.default-event {
    background: #e2e8f0;
}

@media (max-width: 991px) {
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-toggler {
        width: fit-content;
        flex-shrink: 0;
    }
}

.upcoming-meeting-item {
    padding: 8px 4px;
    border: none;
    border-bottom: 1px solid #f0ece6;
    background: transparent;
    cursor: pointer;
}
.upcoming-meeting-item:last-child { border-bottom: none; }
.upcoming-meeting-item:hover { background: rgba(0,0,0,0.04); }

.upcoming-meeting-time {
    display: block;
    font-size: 0.75rem;
    color: #7A7368;
    margin-top: 1px;
}

.upcoming-meeting-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
    color: #000;
}
.upcoming-meeting-badge.conference-line-meeting { background: var(--card3-gradient-color2); }
.upcoming-meeting-badge.zoom-meeting            { background: var(--card2-gradient-color2); }
.upcoming-meeting-badge.in-person-meeting       { background: var(--card1-gradient-color2); }
.upcoming-meeting-badge.hybrid-meeting          { background: var(--card4-gradient-color2); }
.upcoming-meeting-badge.default-event           { background: #e2e8f0; }

@media (max-width: 991px) {
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.journal-outer {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.journal-hdr {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.journal-book {
    display: flex;
    width: 100%;
    min-height: 75vh;
    background: #fff;
    border-radius: 4px 10px 10px 4px;
    box-shadow:
        -6px 6px 28px rgba(0,0,0,.22),
        4px 4px 18px rgba(0,0,0,.10),
        inset 2px 0 6px rgba(0,0,0,.06);
    position: relative;
}

.journal-spine {
    width: 44px;
    min-height: 100%;
    background: linear-gradient(180deg, #4a3728 0%, #2e1f14 100%);
    border-radius: 4px 0 0 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset -3px 0 8px rgba(0,0,0,.25);
}
.journal-spine-title {
    color: rgba(255,255,255,.7);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    white-space: nowrap;
    padding: .5rem 0;
}

.journal-pages {
    flex: 1;
    position: relative;
    padding: 2.5rem 3rem 2rem 2.5rem;
    border-left: 2px solid #e8ddd3;
    background-color: var(--jv-bg, #fffdf9);
    min-height: 75vh;
}

.journal-page {
    width: 100%;
}
.journal-page--loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.journal-loading-inner {
    text-align: center;
}

@keyframes pageTurnIn {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}
.page-turn-in {
    animation: pageTurnIn .3s ease-out forwards;
}

.journal-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--jv-border, #e8ddd3);
    padding-bottom: .5rem;
    margin-bottom: 1.25rem;
}
.journal-entry-date {
    font-size: .85rem;
    color: #8a7968;
    font-style: italic;
}
.journal-page-actions {
    display: flex;
    gap: .25rem;
}
.journal-page-actions .btn-link {
    color: #8a7968;
    padding: .2rem .4rem;
    font-size: 1rem;
    text-decoration: none;
}
.journal-page-actions .btn-link:hover { color: var(--jv-accent, #3d2b1f); }

.journal-entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--jv-heading, #2e1f14);
    margin-bottom: .85rem;
    line-height: 1.3;
}
.journal-entry-body {
    font-size: 1rem;
    line-height: 1.9;
    color: #3d3028;
    min-height: 120px;
}
.journal-entry-body p { margin-bottom: .65rem; }
.journal-entry-body h1,
.journal-entry-body h2,
.journal-entry-body h3 { color: var(--jv-accent, #8a6a50); margin: 1rem 0 .5rem; }
.journal-entry-body h1 { font-size: 1.35rem; }
.journal-entry-body h2 { font-size: 1.15rem; }
.journal-entry-body h3 { font-size: 1.02rem; }
.journal-entry-body a { color: var(--jv-accent, #8a6a50); }
.journal-entry-body blockquote {
    border-left: 3px solid var(--jv-accent, #8a6a50);
    padding-left: 1rem;
    margin-left: 0;
    color: #5a4a3e;
    font-style: italic;
}
.journal-entry-body img {
    max-width: 100%;
    border-radius: 6px;
    margin: .5rem 0;
    display: block;
}
.journal-entry-meta {
    margin-top: 1.5rem;
    font-size: .8rem;
}

.journal-ribbon {
    position: absolute;
    top: 0;
    right: 22px;
    width: 20px;
    height: 56px;
    background: var(--jv-accent, #f0c040);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    border-radius: 0 0 2px 2px;
}

.journal-prompt-banner {
    background: #f0f4ff;
    border-left: 3px solid #6c8ebf;
    border-radius: 4px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}
.journal-prompt-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6c8ebf;
    display: block;
    margin-bottom: .25rem;
}

.journal-title-input {
    border: none;
    border-bottom: 2px solid var(--jv-border, #e0d8d0);
    border-radius: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #2e1f14;
    padding-left: 0;
    background: transparent;
}
.journal-title-input:focus {
    box-shadow: none;
    border-bottom-color: var(--jv-accent, #6c8ebf);
    background: transparent;
}

.journal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.25rem;
    gap: 1rem;
}
.journal-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    flex: 1;
}
.journal-page-indicator {
    font-size: .8rem;
    color: #8a7968;
}
.journal-date-jump input {
    font-size: .8rem;
    max-width: 160px;
    border-color: #ddd5cb;
    color: #5a4a3e;
}

.journal-pages .ql-toolbar.ql-snow {
    border: 1px solid var(--jv-border, #e8ddd3);
    border-radius: 4px 4px 0 0;
    background: #f9f6f3;
    padding: .3rem .25rem;
}
.journal-pages .ql-container.ql-snow {
    border: 1px solid var(--jv-border, #e8ddd3);
    border-top: none;
    border-radius: 0 0 4px 4px;
    background: var(--jv-bg, #fffdf9);
    font-family: inherit;
    font-size: 1rem;
}
.journal-pages .ql-editor {
    min-height: 55vh;
    font-size: 1rem;
    line-height: 1.9;
    color: #3d3028;
    padding: 1rem 1.1rem;
}
.journal-pages .ql-editor h1,
.journal-pages .ql-editor h2,
.journal-pages .ql-editor h3 {
    color: var(--jv-accent, #8a6a50);
}
.journal-pages .ql-editor h1 { font-size: 1.35rem; }
.journal-pages .ql-editor h2 { font-size: 1.15rem; }
.journal-pages .ql-editor h3 { font-size: 1.02rem; }
.journal-pages .ql-editor a { color: var(--jv-accent, #8a6a50); }
.journal-pages .ql-editor blockquote {
    border-left-color: var(--jv-accent, #8a6a50);
}
.journal-pages .ql-editor img {
    max-width: 100%;
    border-radius: 6px;
}
.journal-pages .ql-editor.ql-blank::before {
    color: #b0a090;
    font-style: italic;
}

.journal-pages .ql-snow .ql-stroke { stroke: #6b5a4e; }
.journal-pages .ql-snow .ql-fill  { fill:   #6b5a4e; }
.journal-pages .ql-snow.ql-toolbar button:hover .ql-stroke { stroke: var(--jv-accent, #3d2b1f); }
.journal-pages .ql-snow.ql-toolbar button.ql-active .ql-stroke { stroke: var(--jv-accent, #3d2b1f); }

.journal-action-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    background: var(--jv-bg, #fffdf9);
    border: 1px solid var(--jv-border, #e8ddd3);
    border-radius: 8px;
}
.jab-hint {
    font-size: .78rem;
    color: #9a8878;
    margin-left: auto;
    text-align: right;
}
.jib-btn {
    background: none;
    border: 1px solid var(--jv-border, #e8ddd3);
    border-radius: 6px;
    padding: .5rem .8rem;
    font-size: 1.2rem;
    color: var(--jv-accent, #8a6a50);
    cursor: pointer;
    line-height: 1;
    transition: background .12s, color .12s, border-color .12s;
}
.jib-btn:hover { background: var(--jv-border, #e8ddd3); color: #2e1f14; }
.jib-btn--done { color: var(--boh-sage-dark) !important; border-color: var(--boh-sage-dark) !important; }

.journal-book--themed .journal-spine {
    background: linear-gradient(180deg, var(--jv-spine1, #4a3728) 0%, var(--jv-spine2, #2e1f14) 100%);
}
.journal-book--themed .journal-spine-title { color: var(--jv-spinetxt, rgba(255,255,255,0.75)); }
.journal-book--themed .journal-entry-title { color: var(--jv-heading, #2e1f14); }
.journal-book--themed .journal-ribbon { background: var(--jv-accent, #8a6a50); }
.journal-book--themed .toc-entry--active .toc-btn { border-left-color: var(--jv-accent, #8a6a50); }
.journal-book--themed .journal-title-input:focus { border-bottom-color: var(--jv-accent, #8a6a50); }

.toc-list {
    list-style: none;
    margin: 0;
    padding: .35rem 0;
}
.toc-entry { display: block; }
.toc-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: .5rem 1rem;
    font-size: .85rem;
    color: #4a3728;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.3;
    border-left: 3px solid transparent;
    transition: background .12s;
}
.toc-btn:hover { background: #f3ede8; }
.toc-entry--active .toc-btn {
    background: #f0ebe4;
    border-left-color: var(--jv-accent, #8a6a50);
    font-weight: 600;
}
.toc-entry--new .toc-btn { color: #6c8ebf; font-style: italic; }
.toc-bm { font-size: .7rem; margin-left: .25rem; }
.toc-date { font-size: .72rem; color: #9a8878; }
.toc-empty { padding: .6rem 1rem; font-size: .82rem; color: #9a8878; }

@media (max-width: 680px) {
    .journal-outer { padding: .75rem .5rem 2rem; }
    .journal-pages { padding: 1.5rem 1.25rem 1.5rem 1.25rem; }
    .journal-spine { width: 28px; }
    .journal-spine-title { font-size: .55rem; }
    .journal-pages .ql-editor { min-height: 200px; }
    .jab-hint { display: none; }
}

.journal-list-card {
    border-left-width: 4px !important;
    border-left-style: solid;
    align-items: center;
    gap: 1rem;
}
.journal-list-card-icon {
    width: 52px;
    height: 64px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.badge-daily {
    font-size: .65rem;
    background: var(--boh-amber);
    color: #fff;
    border-radius: 3px;
    padding: .1rem .35rem;
    vertical-align: middle;
}

.journal-theme-picker {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: .25rem;
}
.journal-theme-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: transparent;
    transition: border-color .15s;
    font-size: .75rem;
    color: #555;
}
.journal-theme-swatch:hover { border-color: #aaa; }
.journal-theme-swatch.selected { border-color: #4A8FA3; }
.journal-theme-bands {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(0,0,0,.1);
}
.journal-theme-band { flex: 1; }

.assessment-take-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

.at-back {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 14px;
}
.at-back:hover { color: #333; }

.at-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.at-desc {
    font-size: 15px;
    color: #555;
    margin: 0 0 10px;
}

.at-preview-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #856404;
    margin-bottom: 16px;
}

.at-privacy {
    font-size: 12px;
    color: #999;
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.at-loading {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.at-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eee;
    border-top-color: #4A8FA3;
    border-radius: 50%;
    animation: at-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes at-spin { to { transform: rotate(360deg); } }

.at-field-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.at-field-wrap {  }

.at-section-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #7a6e63;
    background: #e8e2d8;
    padding: 7px 18px;
    border-radius: 10px 10px 0 0;
    margin-top: 8px;
    margin-bottom: -16px;
}
.at-section-header:first-child {
    margin-top: 0;
}
.at-section-header + .at-field-wrap .at-field {
    border-radius: 0 0 10px 10px;
}

.at-field {
    background: #faf9f7;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 18px 18px 16px;
}

.at-field-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.at-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    flex-grow: 1;
}

.at-required { color: #dc3545; }
.at-multi-hint { font-size: 12px; font-weight: 400; color: #888; margin-left: 6px; }

.at-prev-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    padding: 3px 8px;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}
.at-prev-btn:hover { background: #f0ede8; color: #333; }

.at-input {
    width: 100%;
    font-size: 15px;
}

.at-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.at-choice-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid #e0dbd4;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
}
.at-choice-option:has(input:checked) {
    border-color: #4A8FA3;
    background: #EBF5F8;
}
.at-choice-option input { flex-shrink: 0; cursor: pointer; }
.at-choice-option label { margin: 0; cursor: pointer; font-size: 14px; }
.wb-scale-btn input { display: none !important; } 

.at-text-block {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    padding: 4px 0;
}
.at-text-block p, .wb-text-block p { margin: 0; }
.at-text-block p + p, .wb-text-block p + p { margin-top: 0.6em; }
.at-text-block h1, .wb-text-block h1 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.at-text-block h2, .wb-text-block h2 { font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.at-text-block h3, .wb-text-block h3 { font-size: 14px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }

.at-image-wrap { text-align: center; padding: 8px 0; }
.at-image { max-width: 100%; border-radius: 8px; }
.at-image-caption { font-size: 13px; color: #888; margin-top: 8px; }

.at-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0 0;
    border-top: 1px solid #eee;
    margin-top: 32px;
    flex-wrap: wrap;
}

.at-save-status {
    font-size: 12px;
    color: #6c757d;
    flex-grow: 1;
}

.at-prev-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 300;
}
.at-prev-overlay.open { display: block; }

.at-prev-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 95vw;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    z-index: 301;
    transition: right 0.25s ease;
    display: flex;
    flex-direction: column;
}
.at-prev-panel.open { right: 0; }

.at-prev-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.at-prev-panel-title {
    font-weight: 700;
    font-size: 15px;
    margin: 0;
}

.at-prev-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    padding: 0;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-prev-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.at-prev-answer {
    border-bottom: 1px solid #f0ece6;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.at-prev-answer:last-child { border: none; margin: 0; padding: 0; }

.at-prev-meta {
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.at-prev-value {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.at-prev-loading, .at-prev-none {
    font-size: 14px;
    color: #888;
    text-align: center;
    padding: 30px 0;
}

.ar-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

.ar-header { margin-bottom: 28px; }
.ar-title { font-size: 22px; font-weight: 700; margin: 8px 0 4px; }
.ar-subtitle { font-size: 13px; color: #888; margin: 0; }

.ar-score-card {
    background: #EBF5F8;
    border: 1.5px solid rgba(74,143,163,0.25);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}
.ar-score-number {
    font-size: 56px;
    font-weight: 800;
    color: #4A8FA3;
    line-height: 1;
    margin-bottom: 8px;
}
.ar-range-label {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
}
.ar-range-desc {
    font-size: 14px;
    color: #555;
    max-width: 480px;
    margin: 0 auto 14px;
    line-height: 1.6;
}
.ar-disclaimer {
    font-size: 12px;
    color: #888;
    margin: 0;
    font-style: italic;
}

.ar-history-card {
    background: #faf9f7;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.ar-history-title {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
}

.ar-score-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.ar-score-list li { padding: 5px 0; border-bottom: 1px solid #eee; }
.ar-score-list li:last-child { border: none; }

.ar-answers { margin-top: 28px; }
.ar-answers-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

.ar-answer-row {
    padding: 14px 0;
    border-bottom: 1px solid #f0ece6;
}
.ar-answer-row:last-child { border: none; }
.ar-question { font-size: 14px; font-weight: 600; color: #555; margin: 0 0 6px; }
.ar-answer { font-size: 15px; color: #1a1a1a; line-height: 1.5; }
.ar-no-answer { font-size: 14px; color: #bbb; font-style: italic; margin: 0; }

.ar-content-block { padding: 12px 0; }

.ar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

@media (max-width: 600px) {
    .at-prev-panel { width: 100%; right: -100%; }
    .ar-score-number { font-size: 42px; }
}

.my-assessments-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

.ma-header { margin-bottom: 28px; }
.ma-title   { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.ma-subtitle { font-size: 15px; color: #6b6b6b; margin: 0; }

.ma-section { margin-bottom: 36px; }

.ma-section--trauma {
    background: #f8f6f2;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 36px;
    border: 1px solid rgba(0,0,0,0.06);
}
.ma-section--trauma .ma-section-h2 { color: #4A8FA3; }

.ma-section-desc {
    font-size: 13px;
    color: #6b6b6b;
    margin: -8px 0 14px;
}

.ma-section-h2 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6c757d;
    margin: 0 0 14px;
}

.ma-card-list { display: flex; flex-direction: column; gap: 12px; }

.ma-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #faf9f7;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 16px 18px;
}
.ma-card--completed  { border-left: 3px solid var(--boh-teal, #4A8FA3); }
.ma-card--in-progress { border-left: 3px solid var(--boh-amber, #D4952A); }
.ma-card--suggested  { border-left: 3px solid var(--boh-blue, #3A6B8A); }
.ma-card--meeting    { border-left: 3px solid var(--boh-teal, #4A8FA3); }
.ma-card--pillar     { border-left: 4px solid var(--boh-primary, #3A6B8A); }

.ma-program-intro {
    color: var(--boh-text, #4a4a4a);
    opacity: 0.75;
    font-size: 14px;
    margin: 0 0 14px;
    max-width: 62ch;
}

.ma-card-body { flex-grow: 1; }

.ma-card-title {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 4px;
}

.ma-card-desc {
    font-size: 13px;
    color: #6b6b6b;
    margin: 0 0 4px;
}

.ma-card-meta {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.ma-card-score {
    font-size: 13px;
    color: #4A8FA3;
    margin: 4px 0 0;
}

.ma-pass-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 8px;
}

.ma-pass-link {
    font-size: 12px;
    color: #888;
    text-decoration: none;
}
.ma-pass-link:hover { color: #4A8FA3; text-decoration: underline; }

.ma-no-profile {
    background: #FDF6EC;
    border: 1px solid #F0D9A0;
    border-radius: 8px;
    padding: 16px 18px;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.ma-none {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

.ma-lookup {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ma-lookup-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
}

.ma-lookup-desc {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
}

.ma-lookup-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.ma-lookup-select { max-width: 260px; flex-grow: 1; }

.ma-lookup-results { margin-top: 16px; }

.ma-pg-hidden { display: none !important; }
.ma-pg-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.ma-pg-info { font-size: 13px; color: #6b6b6b; }
.ma-pg-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b6b6b; margin: 0; }
.ma-pg-select { width: auto; min-width: 72px; font-size: 13px; padding: 2px 28px 2px 8px; }

.wb-view-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.wb-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.wb-back { font-size:13px; color:#888; text-decoration:none; }
.wb-back:hover { color:#333; }

.wb-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    flex-grow: 1;
}

.wb-buy-link {
    font-size: 13px;
    color: #4A8FA3;
    text-decoration: none;
    border: 1px solid #4A8FA3;
    border-radius: 6px;
    padding: 4px 10px;
}
.wb-buy-link:hover { background: #EBF5F8; }

.wb-toc-btn {
    background: #f5f2ee;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    flex-shrink: 0;
}
.wb-toc-btn:hover { background: #ede9e3; }

.wb-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.wb-progress-bar {
    flex-grow: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}
.wb-progress-fill {
    height: 100%;
    background: #4A8FA3;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}
.wb-progress-label { font-size: 12px; color: #6c757d; flex-shrink: 0; }

.wb-loading { text-align:center; padding:60px 20px; color:#888; }
.wb-spinner {
    width: 32px; height: 32px;
    border: 3px solid #eee; border-top-color: #4A8FA3;
    border-radius: 50%;
    animation: at-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

.wb-section-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0ece6;
}

.wb-chapter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c757d;
    margin: 0 0 4px;
}

.wb-section-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wb-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    flex-grow: 1;
}

.wb-bookmark-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}
.wb-bookmark-btn:hover { background: #f5f2ee; }

.wb-field-list { display: flex; flex-direction: column; gap: 20px; }

.wb-text-block { padding: 4px 0; }

.wb-section-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 24px 0 0;
    margin-top: 28px;
    border-top: 1px solid #eee;
}

.wb-save-status { font-size:12px; color: #6c757d; flex-grow:1; }

.wb-complete {
    text-align: center;
    padding: 60px 20px;
}
.wb-complete-icon { font-size: 48px; margin-bottom: 16px; }
.wb-complete-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.wb-complete-msg { font-size: 15px; color: #555; max-width: 500px; margin: 0 auto 24px; line-height: 1.6; }
.wb-complete-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.wb-toc-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.3); z-index: 300;
}
.wb-toc-overlay.open { display: block; }

.wb-toc-panel {
    position: fixed; top: 0; left: -380px;
    width: 360px; max-width: 90vw; height: 100%;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0,0,0,0.12);
    z-index: 301;
    transition: left 0.25s ease;
    display: flex; flex-direction: column;
}
.wb-toc-panel.open { left: 0; }

.wb-toc-inner { display:flex; flex-direction:column; height:100%; }

.wb-toc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid #eee; flex-shrink: 0;
}
.wb-toc-title { font-weight:700; font-size:15px; margin:0; }
.wb-toc-close { background:none; border:none; font-size:18px; cursor:pointer; color:#888; padding:0; min-width:44px; min-height:44px; display:flex; align-items:center; justify-content:center; }

.wb-toc-body { flex-grow:1; overflow-y:auto; padding:12px 16px; }

.wb-toc-chapter { margin-bottom: 16px; }
.wb-toc-chapter-title {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #6c757d; margin: 0 0 6px; padding: 0 4px;
}

.wb-toc-section {
    display: block; width: 100%; text-align: left;
    background: none; border: none; border-radius: 6px;
    padding: 7px 8px; font-size: 13px; color: #333;
    cursor: pointer; transition: background 0.1s;
}
.wb-toc-section:hover { background: #f5f2ee; }
.wb-toc-section.active { background: #EBF5F8; color: #4A8FA3; font-weight: 600; }
.wb-toc-bm { margin-right: 5px; font-size: 12px; }

.exp-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

.exp-back { font-size:13px; color:#888; text-decoration:none; display:inline-block; margin-bottom:20px; }
.exp-back:hover { color:#333; }

.exp-progress {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 36px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.exp-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 52px;
    position: relative;
}
.exp-dot:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0dbd4;
    z-index: 0;
}
.exp-dot.complete::after { background: #4A8FA3; }
.exp-dot-circle {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d0cac3;
    position: relative;
    z-index: 1;
    transition: background 0.15s, border-color 0.15s;
}
.exp-dot.active .exp-dot-circle  { background: #4A8FA3; border-color: #4A8FA3; }
.exp-dot.complete .exp-dot-circle { background: #4A8FA3; border-color: #4A8FA3; }
.exp-dot.complete .exp-dot-circle::after {
    content: '✓';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff; font-weight: 700;
    line-height: 1;
}
.exp-dot-label { font-size: 10px; color: #bbb; white-space: nowrap; text-align: center; line-height: 1.2; }
.exp-dot.active .exp-dot-label  { color: #4A8FA3; font-weight: 600; }
.exp-dot.complete .exp-dot-label { color: #4A8FA3; }
.exp-dot--clickable { cursor: pointer; }
.exp-dot--clickable .exp-dot-circle:hover { opacity: 0.8; }
.exp-dot--clickable .exp-dot-label:hover  { text-decoration: underline; }

.exp-loading { text-align:center; padding:60px 0; }
.exp-spinner {
    width:32px; height:32px; border:3px solid #eee; border-top-color:#4A8FA3;
    border-radius:50%; animation:at-spin 0.8s linear infinite; margin:0 auto;
}

.exp-question-block { padding: 4px 0 8px; }
.exp-intro {
    font-size: 14px; color: #5a7a85;
    background: #EBF5F8; border-left: 3px solid #4A8FA3;
    border-radius: 0 8px 8px 0; padding: 12px 16px; margin-bottom: 24px;
}
.exp-q    { font-size: 21px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; color: #1a2e35; }
.exp-hint { font-size: 13px; color: #8a8a8a; margin: 0 0 20px; line-height: 1.5; }
.exp-skip { font-size: 12px; color: #bbb; margin-top: 10px; }
.exp-input { font-size: 15px; }

.exp-choices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.exp-choices--compact { gap: 6px; }

.exp-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #fff;
    border: 1.5px solid #e0dbd4;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.1s, background 0.1s;
    font-size: 14px;
    color: #333;
    user-select: none;
}
.exp-choice:hover { border-color: #b0cdd6; background: #f5fbfd; }
.exp-choice input[type="radio"],
.exp-choice input[type="checkbox"] { flex-shrink: 0; accent-color: #4A8FA3; }
.exp-choice.selected { border-color: #4A8FA3; background: #EBF5F8; color: #1e4f5e; }

.exp-date-group { margin-bottom: 20px; }
.exp-date-label { font-size: 13px; font-weight: 600; color: #555; display: block; margin-bottom: 8px; }
.exp-date-optional { font-weight: 400; color: #6c757d; }
.exp-date-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.exp-date-select,
.exp-date-input {
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.exp-date-select {
    flex: 2;
    min-width: 130px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 28px;
}
.exp-date-input { flex: 1; min-width: 68px; text-align: center; }
.exp-date-label--inline { display: inline-flex; align-items: center; margin-bottom: 0; font-weight: 400; white-space: nowrap; flex: none; }
.exp-date-select:focus, .exp-date-input:focus {
    outline: none;
    border-color: #4A8FA3;
    box-shadow: 0 0 0 2px rgba(74,143,163,0.15);
}

.exp-domain-block { border:1px solid #e0dbd4; border-radius:8px; margin-bottom:8px; overflow:hidden; }
.exp-domain-header {
    display:flex; justify-content:space-between; align-items:center;
    width:100%; background:#f5f2ee; border:none; padding:10px 14px;
    font-size:14px; font-weight:600; cursor:pointer; text-align:left;
}
.exp-domain-header:hover { background:#eee8e0; }
.exp-domain-body { padding:8px 0; }
.exp-exp-row {
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; padding:8px 14px; border-bottom:1px solid #f0ece6;
    flex-wrap:wrap;
}
.exp-exp-row:last-child { border:none; }
.exp-exp-label { font-size:13px; color:#333; flex:1; min-width:180px; }
.exp-exp-choices { display:flex; gap:6px; flex-shrink:0; }
.exp-mini-choice {
    padding: 5px 12px; border: 1.5px solid #ddd; border-radius: 20px;
    font-size: 12px; cursor: pointer; background: #fff; color: #666;
    transition: all 0.1s; user-select: none;
}
.exp-mini-choice input { display:none; }
.exp-mini-choice:hover { border-color: #4A8FA3; color: #4A8FA3; }
.exp-mini-choice.active { background: #4A8FA3; border-color: #4A8FA3; color: #fff; font-weight: 600; }

.exp-impact-group { margin-bottom: 8px; }
.exp-impact-label { font-size: 14px; font-weight: 600; color: #333; display: block; margin-bottom: 12px; }
.exp-feeling-row { display: flex; gap: 6px; flex-wrap: wrap; }
.exp-feeling-btn {
    width: 44px; height: 44px; border: 1.5px solid #ddd; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; cursor: pointer; background: #fff; color: #555;
    transition: all 0.1s; user-select: none;
}
.exp-feeling-btn input { display: none; }
.exp-feeling-btn:hover { border-color: #4A8FA3; color: #4A8FA3; }
.exp-feeling-btn.active { background: #4A8FA3; border-color: #4A8FA3; color: #fff; font-weight: 700; }

.exp-nav {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 20px 0 0; margin-top: 32px; border-top: 1px solid #eee;
}
.exp-save-status { font-size: 12px; color: #6c757d; flex-grow: 1; }
.exp-save-exit   { font-size: 13px; }

.exp-complete { text-align: center; padding: 56px 20px; }
.exp-complete-check {
    width: 64px; height: 64px; border-radius: 50%;
    background: #4A8FA3; color: #fff;
    font-size: 30px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.exp-complete h2 { font-size: 24px; font-weight: 700; margin-bottom: 14px; color: #1a2e35; }
.exp-complete p  { font-size: 15px; color: #666; max-width: 480px; margin: 0 auto 16px; line-height: 1.7; }
.exp-complete-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.exp-story-textarea {
    min-height: 240px;
    font-size: 15px;
    line-height: 1.8;
    resize: vertical;
    border-color: #d0cac3;
}
.exp-story-textarea:focus { border-color: #4A8FA3; box-shadow: 0 0 0 2px rgba(74,143,163,0.12); }
.exp-story-note { font-size: 12px; color: #b0b0b0; margin-top: 10px; }

.exp-domain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 4px;
}
.exp-domain-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #e0dbd4;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.1s, background 0.1s;
    line-height: 1.3;
    user-select: none;
}
.exp-domain-card:hover { border-color: #b0cdd6; background: #f5fbfd; }
.exp-domain-card input { flex-shrink: 0; accent-color: #4A8FA3; }
.exp-domain-card.selected {
    border-color: #4A8FA3;
    background: #EBF5F8;
    color: #1e4f5e;
}

.exp-exp-section { margin-bottom: 28px; }
.exp-exp-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #4A8FA3;
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #EBF5F8;
}

.exp-list-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

@media (max-width: 600px) {
    .exp-date-row { flex-direction: column; }
    .exp-date-select, .exp-date-input { width: 100%; }
    .exp-exp-row  { flex-direction: column; align-items: flex-start; }
    .exp-feeling-row { gap: 4px; }
    .exp-feeling-btn { width: 44px; height: 44px; font-size: 14px; }
    .exp-domain-cards { grid-template-columns: 1fr; }
}

.exp-snapshot {
    background: #fff;
    border: 1.5px solid #d4e9ef;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.exp-snapshot-hd { margin-bottom: 20px; }
.exp-snapshot-title { font-size: 17px; font-weight: 700; color: #1a2e35; margin: 0 0 4px; }
.exp-snapshot-sub   { font-size: 13px; color: #999; margin: 0; }

.exp-snapshot-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #edf4f6; }
.exp-snapshot-section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.exp-snapshot-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: #4A8FA3; margin: 0 0 14px;
}

.exp-snapshot-compound-note {
    font-size: 12px; color: #7a6a55; background: #fdf6ec;
    border-left: 3px solid #C4884A; border-radius: 0 6px 6px 0;
    padding: 8px 12px; margin: 0 0 14px;
}

.exp-snapshot-domains { display: flex; flex-direction: column; gap: 16px; }

.exp-snap-domain {}
.exp-snap-domain-name {
    display: inline-block; font-size: 12px; font-weight: 700;
    color: #4A8FA3; text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.exp-snap-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 3px;
}
.exp-snap-list li {
    font-size: 13px; color: #444; padding-left: 14px; position: relative; line-height: 1.4;
}
.exp-snap-list li::before {
    content: '·'; position: absolute; left: 0; color: #4A8FA3; font-weight: 700;
}

.exp-effect-list {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.exp-effect-item {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 20px; font-size: 13px;
    border: 1.5px solid transparent; cursor: default;
}
.exp-effect-item--common   { background: #d4edda; border-color: #b8ddc4; color: #1e7e34; }
.exp-effect-item--frequent { background: #cce5ff; border-color: #9ecfff; color: #0062cc; }
.exp-effect-item--possible { background: #e2e3e5; border-color: #cdcfd2; color: #6c757d; }

.exp-effect-compound {
    font-size: 9px; color: #C4884A; opacity: 0.8; flex-shrink: 0;
}
.exp-effect-name { font-weight: 500; }
.exp-effect-lk   { font-size: 11px; opacity: 0.65; }

.exp-sessions-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: #6c757d; margin: 0 0 12px;
}

.exp-session-list { display: flex; flex-direction: column; gap: 12px; }

.exp-session-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.exp-session-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.exp-session-card-title-wrap { flex: 1; min-width: 0; }

.exp-session-card-title {
    font-size: 15px; font-weight: 600; margin: 0 0 4px; color: #1a2e35;
}
.exp-session-card-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
    font-size: 12px; color: #6c757d;
}
.exp-session-card-actions {
    display: flex; gap: 8px; flex-shrink: 0; align-items: center;
}

.exp-session-card-body {
    padding: 0 18px 16px;
    border-top: 1px solid #f0ece6;
}
.exp-session-domain-group { padding: 12px 0 0; }
.exp-session-domain-name {
    display: inline-block; font-size: 11px; font-weight: 700;
    color: #4A8FA3; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px;
}
.exp-session-exp-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.exp-session-exp-list li {
    font-size: 13px; color: #555; padding-left: 14px; position: relative; line-height: 1.4;
}
.exp-session-exp-list li::before {
    content: '·'; position: absolute; left: 0; color: #4A8FA3; font-weight: 700;
}

.exp-session-card-impact {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
    margin-top: 12px; padding-top: 10px;
    border-top: 1px solid #f5f2ee;
    font-size: 12px; color: #6c757d;
}

.exp-session-card-progress {
    padding: 12px 18px 16px;
    border-top: 1px solid #f0ece6;
}
.exp-progress-track {
    height: 5px; background: #eee; border-radius: 3px; overflow: hidden; margin-bottom: 6px;
}
.exp-progress-fill {
    height: 100%; background: #4A8FA3; border-radius: 3px; transition: width 0.3s ease;
}
.exp-progress-step { font-size: 12px; color: #6c757d; margin: 0; }

@media (max-width: 600px) {
    .exp-snapshot { padding: 16px; }
    .exp-session-card-header { flex-direction: column; gap: 10px; }
    .exp-session-card-actions { align-self: flex-end; }
}

.hp-effects-section,
.hp-possible-section { margin-top: 24px; }

.hp-effect-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.hp-effect-card {
    background: #fff;
    border: 1px solid #e0eaed;
    border-radius: 10px;
    padding: 14px 16px;
}

.hp-effect-card--common   { border-left: 4px solid #1e7e34; }
.hp-effect-card--frequent { border-left: 4px solid #0062cc; }
.hp-effect-card--possible { border-left: 4px solid #6c757d; }

.hp-effect-cards--possible .hp-effect-card {
    background: #f8fbfc;
    opacity: 0.88;
}

.hp-effect-card-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.hp-effect-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1a2e35;
    line-height: 1.35;
}

.hp-effect-lk {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hp-effect-lk--common   { background: #d4edda; color: #1e7e34; }
.hp-effect-lk--frequent { background: #cce5ff; color: #0062cc; }
.hp-effect-lk--possible { background: #e2e3e5; color: #6c757d; }

.hp-effect-phrases {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-effect-phrases li {
    font-size: 12px;
    color: #7a8d93;
    font-style: italic;
    line-height: 1.4;
    padding-left: 6px;
    border-left: 2px solid #e0eaed;
}

.hp-effect-learn {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--boh-teal);
    text-decoration: none;
}

.hp-effect-learn:hover { text-decoration: underline; }

.exp-snap-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted var(--boh-border-strong);
}

.exp-snap-link:hover {
    color: var(--boh-blue);
    border-bottom-color: var(--boh-blue);
}

.hp-dismiss-hint {
    font-size: 15px;
    line-height: 1.55;
    color: var(--boh-text-body);
    margin: 0 0 12px;
}

/* The instruction, not the explanation. Pruning is the thing a member has to
   keep doing for the matching to stay accurate, so it is the one element on
   this page that carries weight of its own. */
.hp-prune-do {
    color: var(--boh-red);
    font-weight: 700;
}

.hp-prune-call {
    font-size: 17px;
    line-height: 1.55;
    font-weight: 500;
    color: var(--boh-text-body);
    background: var(--boh-bg-cream);
    border: 1px solid #e3ded3;
    border-left: 5px solid var(--boh-teal);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 0 0 22px;
    box-shadow: 0 1px 3px rgba(44, 42, 38, 0.06);
}

@media (max-width: 600px) {
    .hp-prune-call {
        font-size: 16px;
        padding: 14px 16px;
    }
}

.hp-dismiss-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0 0 0 6px;
    font-size: 16px;
    line-height: 1;
    color: #bbb;
    cursor: pointer;
    transition: color 0.15s;
}

.hp-dismiss-btn:hover { color: #555; }

.hp-effect-card--dismissed {
    opacity: 0.45;
    border-left-color: #d0d0d0 !important;
    background: #f9f9f9 !important;
}

.hp-effect-card--dismissed .hp-effect-name {
    text-decoration: line-through;
    color: #999;
}

.hp-effect-card--dismissed .hp-dismiss-btn {
    color: #4A8FA3;
    font-size: 18px;
}

.hp-effect-from {
    margin: 12px 0 14px;
    padding-top: 11px;
    border-top: 1px solid #e6e9ea;
}

.hp-effect-from-sum {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.hp-effect-from-sum::-webkit-details-marker { display: none; }

.hp-effect-from-sum::after {
    content: "\203A";
    margin-left: auto;
    color: #a8b1b3;
    font-size: 16px;
    line-height: 1;
    transform: rotate(90deg);
    transition: transform 0.15s ease;
}

.hp-effect-from[open] .hp-effect-from-sum::after { transform: rotate(-90deg); }

.hp-effect-from-sum:focus-visible {
    outline: 2px solid var(--boh-teal, #4A8FA3);
    outline-offset: 2px;
    border-radius: 3px;
}

.hp-effect-from-lead {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a9497;
    font-weight: 600;
    flex-shrink: 0;
}

.hp-effect-from-names {
    color: #3f4a4d;
    font-weight: 600;
}

.hp-effect-from-more {
    font-weight: 400;
    color: #8a9497;
}

.hp-effect-from-detail {
    margin-top: 10px;
    padding-left: 2px;
    border-left: 2px solid #e6e9ea;
    padding-left: 10px;
}

.hp-effect-from-line {
    margin: 0 0 6px;
    font-size: 12.5px;
    line-height: 1.45;
}

.hp-effect-from-line:last-child { margin-bottom: 0; }

.hp-effect-from-session {
    font-weight: 600;
    color: #3f4a4d;
}

.hp-effect-from-session::after {
    content: ":";
    font-weight: 400;
    color: #a8b1b3;
    margin-right: 4px;
}

.hp-effect-from-exps { color: #6c7679; }

.hp-effect-card--rerisen {
    opacity: 0.75;
    border-left-color: var(--boh-teal, #4A8FA3) !important;
}

.hp-effect-card--rerisen .hp-effect-name { color: #555; }

.hp-effect-rerisen {
    font-size: 11px;
    font-weight: 600;
    color: var(--boh-teal, #4A8FA3);
    border: 1px solid var(--boh-teal, #4A8FA3);
    border-radius: 10px;
    padding: 1px 7px;
    margin-left: 6px;
    white-space: nowrap;
}

.hp-dismissed-rerisen-note {
    font-size: 12px;
    color: var(--boh-teal, #4A8FA3);
    margin-left: 8px;
}

.hp-dismissed-section {
    margin-top: 12px;
}

.hp-dismissed-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 0;
    font-size: 12px;
    color: #6c757d;
    cursor: pointer;
}

.hp-dismissed-toggle:hover { color: #777; }

.hp-dismissed-chevron {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s;
    display: inline-block;
}

.hp-dismissed-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.hp-back-link {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #edf4f6;
}

@media (max-width: 576px) {
    .hp-effect-cards { grid-template-columns: 1fr; }
}

.wb-cover-thumb {
    height: 52px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    flex-shrink: 0;
}

.ma-card-cover {
    height: 80px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
    align-self: center;
}

.wb-scale-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wb-scale-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid #e0dbd4;
    border-radius: 8px;
    background: #faf9f7;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.1s, background 0.1s, color 0.1s;
    color: #555;
}
.wb-scale-btn input { display: none; }
.wb-scale-btn.selected,
.wb-scale-btn:has(input:checked) {
    background: #4A8FA3;
    border-color: #4A8FA3;
    color: #fff;
}

@media (max-width: 500px) {
    .wb-scale-btn { width: 38px; height: 38px; font-size: 13px; }
}

.wb-image-clickable,
.wb-text-block img {
    cursor: zoom-in;
    transition: opacity 0.15s;
}
.wb-image-clickable:hover,
.wb-text-block img:hover { opacity: 0.88; }

.timeline-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

.tl-track {
    position: relative;
    padding-left: 36px;
    margin-bottom: 40px;
}

.tl-line {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4A8FA3, #e0dbd4);
    border-radius: 1px;
}

.tl-year-marker {
    position: relative;
    margin: 24px 0 8px -28px;
}
.tl-year-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A8FA3;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #c5dde6;
}

.tl-entry {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tl-dot {
    position: absolute;
    left: -29px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #c5dde6;
    flex-shrink: 0;
    z-index: 1;
}

.tl-entry--complete .tl-dot {
    background: #4A8FA3;
    border-color: #4A8FA3;
}

.tl-card {
    flex: 1;
    background: #faf9f7;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 14px 16px;
    transition: box-shadow 0.15s;
}
.tl-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.07); }

.tl-card-label {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 6px;
    color: #1a1a1a;
}

.tl-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.tl-date  { font-size: 13px; color: #4A8FA3; font-weight: 500; }
.tl-card-context { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; }
.tl-who   { font-size: 12px; color: #888; }
.tl-where { font-size: 12px; color: #888; }
.tl-meta-sep { color: #ccc; font-size: 11px; }

.tl-card-actions { display: flex; gap: 8px; }

.tl-undated-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.tl-undated-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c757d;
    margin: 0 0 16px;
}

@media (max-width: 600px) {
    .tl-track { padding-left: 28px; }
}

.db-checkin-wrap {
    background: #faf9f7;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.db-checkin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.db-checkin-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.db-checkin-subtitle {
    font-size: 12px;
    color: #7A7368;
    margin: -6px 0 10px;
}

.db-checkin-streak {
    font-size: 11px;
    font-weight: 600;
    color: #4A8FA3;
    background: #EBF5F8;
    border-radius: 20px;
    padding: 2px 10px;
}

.db-checkin-fields {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.db-checkin-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.db-checkin-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
}

.db-checkin-dots {
    display: flex;
    gap: 5px;
}

.db-ci-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e0dbd4;
    border: none;
    cursor: pointer;
    transition: background 0.12s, transform 0.1s;
    padding: 0;
}
.db-ci-dot:hover  { background: #b8d4de; transform: scale(1.1); }
.db-ci-dot.filled { background: #4A8FA3; }

.db-ci-save {
    padding: 6px 18px;
    border-radius: 20px;
    background: #4A8FA3;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s;
    margin-left: auto;
}
.db-ci-save:hover    { background: #3d7a8c; }
.db-ci-save:disabled { background: #aaa; cursor: default; }

.db-checkin-done {
    font-size: 14px;
    color: #2A7E4A;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 600px) {
    .db-checkin-fields { gap: 12px; }
    .db-ci-save { margin-left: 0; width: 100%; text-align: center; }
}

.lib-shelf {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
}

.lib-book-card,
.lib-suggest-card {
    display: flex;
    gap: 14px;
    background: #faf9f7;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 14px 16px;
    align-items: flex-start;
}

.lib-book-cover,
.lib-suggest-cover {
    width: 54px;
    height: auto;
    min-height: 70px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    flex-shrink: 0;
    object-fit: cover;
}

.lib-book-spine,
.lib-suggest-spine {
    width: 54px;
    min-height: 80px;
    background: linear-gradient(135deg, #4A8FA3, #6baebd);
    border-radius: 4px;
    flex-shrink: 0;
}

.lib-book-info,
.lib-suggest-info { flex: 1; min-width: 0; }

.lib-book-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 2px;
    color: #1a1a1a;
    line-height: 1.3;
}

.lib-book-author {
    font-size: 12px;
    color: #888;
    margin: 0 0 6px;
}

.lib-book-why {
    font-size: 13px;
    color: #555;
    margin: 0 0 8px;
    line-height: 1.4;
}

.lib-book-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.lib-page-note {
    font-size: 11px;
    color: #6c757d;
    margin: 6px 0 0;
}

.lib-suggestions { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 500px) {
    .lib-book-card, .lib-suggest-card { flex-direction: column; }
    .lib-book-cover, .lib-suggest-cover, .lib-book-spine, .lib-suggest-spine { width: 100%; height: 140px; object-fit: cover; }
}

.db-checkin-chart {
    padding: 14px 16px 10px;
    border-top: 1px solid rgba(60, 50, 40, 0.08);
    margin-top: 2px;
}

.ci-chart-controls {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ci-range-btn {
    background: transparent;
    border: 1px solid #D6CFC4;
    border-radius: 14px;
    padding: 4px 12px;
    font-size: 12px;
    color: #7A7368;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.ci-range-btn:hover { background: #F4F0E8; }
.ci-range-btn--active {
    background: #8B7355;
    border-color: #8B7355;
    color: #fff;
}

#checkinChart,
#medChart,
#recModalChart {
    width: 100%;
    display: block;
}

.rec-chart-canvas-wrap {
    position: relative;
    width: 100%;
}

.ci-chart-empty {
    color: #9A9590;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 12px 0;
}

.community-home-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.ch-launch-banner {
    margin: 28px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fdf6e3 0%, #fef9f0 100%);
    border: 1px solid #e8c96a;
    border-radius: 12px;
    text-align: center;
}
.ch-launch-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.ch-launch-icon {
    font-size: 22px;
    line-height: 1;
}
.ch-launch-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ch-launch-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9a7020;
}
.ch-launch-date {
    font-size: 20px;
    font-weight: 700;
    color: #6b4c10;
    letter-spacing: 0.01em;
}

.ch-greeting {
    margin-bottom: 36px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.ch-welcome {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 600;
    color: #1A1816;
    margin: 0 0 4px;
}
.ch-username { color: #8B7355; }
.ch-tagline  { color: #7A7368; font-size: 15px; margin: 0; }

.ch-section {
    margin-bottom: 40px;
}
.ch-section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7A7368;
    margin-bottom: 14px;
    border-bottom: 1px solid #E8E3DC;
    padding-bottom: 8px;
}

.ch-loading { color: #7A7368; font-size: 14px; }
.ch-empty   { color: #9A9590; font-style: italic; font-size: 14px; }

.ch-celebrations-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ch-celebration-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF9F2;
    border: 1px solid #E8E3DC;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
}
.ch-cel-emoji { font-size: 16px; }
.ch-cel-text  { color: #3C3A36; }

.ch-section--pulse .ch-section-title { margin-bottom: 12px; }
.ch-pulse-row {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    background: #F7F4EF;
    border: 1px solid #E8E3DC;
    border-radius: 12px;
    padding: 16px 0;
    overflow: hidden;
}
.ch-pulse-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 4px 8px;
    border-right: 1px solid #E8E3DC;
}
.ch-pulse-stat:last-child { border-right: none; }
.ch-pulse-num   { font-size: 26px; font-weight: 700; color: #5C7A6B; line-height: 1; }
.ch-pulse-label { font-size: 11px; color: #7A7368; text-align: center; line-height: 1.3; }

.ch-meetings-list { display: block; }
.ch-see-all-link  { display: inline-block; margin-top: 10px; font-size: 13px; color: #8B7355; }

.ch-section--meeting-requests { margin-bottom: 48px; }
.ch-mr-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.ch-mr-intro   { font-size: 14px; color: #7A7368; margin-bottom: 16px; }
.ch-mr-request-btn { flex-shrink: 0; margin-top: 4px; }
.ch-mr-list    { display: flex; flex-direction: column; gap: 10px; }

.ch-mr-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #FDFBF7;
    border: 1px solid #E8E3DC;
    border-left: 3px solid var(--boh-blue, #3A6B8A);
    border-radius: 10px;
    padding: 14px 16px;
}
.ch-mr-card-icon {
    font-size: 1.3rem;
    color: var(--boh-blue, #3A6B8A);
    flex-shrink: 0;
    margin-top: 2px;
}
.ch-mr-card-body  { flex: 1 1 auto; min-width: 0; }
.ch-mr-card-topic { margin: 0 0 4px; font-size: 0.95rem; }
.ch-mr-card-meta  { margin: 0; font-size: 0.8rem; color: #7A7368; }

.ch-mr-card--blue   { background: color-mix(in srgb, var(--boh-blue)   10%, #fff); border-left-color: var(--boh-blue); }
.ch-mr-card--teal   { background: color-mix(in srgb, var(--boh-teal)   10%, #fff); border-left-color: var(--boh-teal); }
.ch-mr-card--amber  { background: color-mix(in srgb, var(--boh-amber)  12%, #fff); border-left-color: var(--boh-amber); }
.ch-mr-card--sage   { background: color-mix(in srgb, var(--boh-sage)   11%, #fff); border-left-color: var(--boh-sage); }
.ch-mr-card--purple { background: color-mix(in srgb, var(--boh-purple) 10%, #fff); border-left-color: var(--boh-purple); }
.ch-mr-card--gold   { background: color-mix(in srgb, var(--boh-gold)   12%, #fff); border-left-color: var(--boh-gold); }

.ch-mr-card--teal   .ch-mr-card-icon { color: var(--boh-teal); }
.ch-mr-card--amber  .ch-mr-card-icon { color: var(--boh-amber); }
.ch-mr-card--sage   .ch-mr-card-icon { color: var(--boh-sage); }
.ch-mr-card--purple .ch-mr-card-icon { color: var(--boh-purple); }
.ch-mr-card--gold   .ch-mr-card-icon { color: var(--boh-gold); }

.mr-day-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    flex-wrap: wrap;
}
.mr-day-times { display: flex; align-items: center; gap: 4px; }

.ch-section--wins  {}
.ch-wins-intro     { font-size: 14px; color: #7A7368; margin-bottom: 16px; }

.forum-activity-row {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 4px solid transparent;
    text-decoration: none;
    margin-bottom: 8px;
    transition: filter 0.15s;
}
.forum-activity-row:hover { filter: brightness(0.96); text-decoration: none; }
.forum-activity-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}
.forum-activity-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.fa-board  { font-weight: 500; }
.fa-replies { opacity: 0.7; }

.fa-row--trust          { background: #FDE8C4; border-color: var(--pillar-trust-fg); color: #3A2E24; }
.fa-row--trust          .fa-board { color: var(--pillar-trust-fg); }
.fa-row--resiliency     { background: var(--pillar-res-bg);   border-color: var(--pillar-res-fg);    color: #1E3540; }
.fa-row--resiliency     .fa-board { color: var(--pillar-res-fg); }
.fa-row--accountability { background: var(--pillar-acc-bg);   border-color: var(--pillar-acc-fg);    color: #2A2038; }
.fa-row--accountability .fa-board { color: var(--pillar-acc-fg); }
.fa-row--understanding  { background: var(--pillar-und-bg);   border-color: var(--pillar-und-fg);    color: #1E2A3A; }
.fa-row--understanding  .fa-board { color: var(--pillar-und-fg); }
.fa-row--mindfulness    { background: var(--pillar-min-bg);   border-color: var(--pillar-min-fg);    color: #1E2E20; }
.fa-row--mindfulness    .fa-board { color: var(--pillar-min-fg); }
.fa-row--action         { background: var(--pillar-act-bg);   border-color: var(--pillar-act-fg);    color: #3A2018; }
.fa-row--action         .fa-board { color: var(--pillar-act-fg); }

.fa-row--experience     { background: #F5F4F0; border-color: #B0AAA0; color: #3A3835; }
.fa-row--experience     .fa-board { color: #6B6562; }

.ch-post-win {
    background: #FDFBF7;
    border: 1px solid #E8E3DC;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
}
.ch-post-win-input {
    width: 100%;
    font-size: 14px;
    color: #2C2A26;
    font-family: inherit;
}
.ch-post-win-input .ql-toolbar { border-radius: 8px 8px 0 0; }
.ch-post-win-input .ql-container { border-radius: 0 0 8px 8px; min-height: 60px; font-size: 14px; }
.ch-post-win-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.ch-post-win-count { font-size: 12px; color: #9A9590; }
.ch-post-btn {
    background: #5C7A6B;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.ch-post-btn:hover { background: #4A6459; }
.ch-post-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.ch-wins-list { display: flex; flex-direction: column; gap: 14px; }

.win-card {
    background: #fff;
    border: 1px solid #E8E3DC;
    border-radius: 10px;
    padding: 16px;
}
.win-card--live   { border-left: 3px solid #5C7A6B; }
.win-card--closed { opacity: 0.75; }

.win-milestone-tag {
    font-size: 12px;
    color: #8B7355;
    margin: 0 0 8px;
    font-weight: 500;
}
.win-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}
.win-username { font-weight: 600; font-size: 14px; color: #2C2A26; }
.win-time     { font-size: 12px; color: #9A9590; }
.win-body-text { font-size: 14px; color: #3C3A36; margin-bottom: 4px; }
.win-body-text p { margin: 0 0 6px; }
.win-body-text p:last-child { margin-bottom: 0; }
.win-body-text ul, .win-body-text ol { margin: 0 0 6px; padding-left: 20px; }
.win-body-text blockquote { margin: 0 0 6px; padding-left: 10px; border-left: 3px solid #D8D2C8; color: #6B6562; }
.win-body-text a { color: #5C7A6B; text-decoration: underline; word-break: break-word; }
.win-body-text h2, .win-body-text h3 { margin: 0 0 6px; font-size: 15px; }

.win-actions { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }

.win-emoji-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #E8E3DC;
    border-radius: 16px;
    padding: 3px 10px;
    font-size: 14px;
    cursor: pointer;
    color: #7A7368;
    transition: background 0.12s, border-color 0.12s;
    line-height: 1.4;
}
.win-emoji-btn:hover        { background: #F5F1EC; border-color: #C8C2B8; }
.win-emoji-btn--active      { background: #FEF9F0; border-color: #C8A96E; }
.win-emoji-btn:disabled     { opacity: 0.5; cursor: not-allowed; }
.win-emoji-count            { font-size: 12px; color: #7A7368; min-width: 8px; }
.win-emoji-btn--active .win-emoji-count { color: #8B7355; }

.win-closed-tag             { font-size: 12px; color: #9A9590; }

.win-replies-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #8B7355;
    cursor: pointer;
    margin-bottom: 8px;
    display: block;
}
.win-replies-toggle:hover { text-decoration: underline; }

.win-replies-list            { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.win-reply-row               { font-size: 13px; color: #3C3A36; }

.win-emoji-btn,
.msg-rx-chip,
.forum-react-chip {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.win-reactor-popup {
    position: absolute;
    z-index: 1080;
    background: #fff;
    border: 1px solid #E8E3DC;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 140px;
    max-width: 220px;
    max-height: 240px;
    overflow-y: auto;
}
.win-reactor-emoji { font-size: 20px; text-align: center; margin-bottom: 8px; }
.win-reactor-list  { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.win-reactor-list li { font-size: 13px; color: #2C2A26; font-weight: 500; }
.win-reactor-loading { font-size: 13px; color: #7A7368; text-align: center; }
.win-reply-row--new          { color: #5C7A6B; }
.win-reply-top                { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.win-reply-user              { font-weight: 600; }
.win-reply-body p            { margin: 0 0 4px; }
.win-reply-body p:last-child { margin-bottom: 0; }
.win-reply-body a            { color: #5C7A6B; text-decoration: underline; word-break: break-word; }

.win-reply-form { margin-top: 6px; }
.win-reply-starter {
    border: 1px solid #E8E3DC;
    border-radius: 6px;
    padding: 0 10px;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
    color: #9A9590;
    cursor: text;
}
.win-reply-starter:hover { border-color: #C8C2B8; }

.win-reply-compose-actions { display: flex; gap: 8px; margin-top: 6px; }
.win-reply-send, .win-reply-cancel {
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
    box-sizing: border-box;
}
.win-reply-send {
    background: #EDF5F8;
    border: 1px solid #C3D8E3;
    color: #3C6E8A;
}
.win-reply-send:hover    { background: #C3D8E3; }
.win-reply-send:disabled { opacity: 0.6; cursor: not-allowed; }
.win-reply-cancel {
    background: none;
    border: 1px solid #C8C2B8;
    color: #7A7368;
}
.win-reply-cancel:hover { background: #F5F1EC; }

.win-quill-compact .ql-toolbar { padding: 4px; border-radius: 6px 6px 0 0; }
.win-quill-compact .ql-container { border-radius: 0 0 6px 6px; min-height: 44px; font-size: 13px; }

.win-owner-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.win-edit-btn, .win-delete-btn {
    background: none;
    border: none;
    padding: 0 4px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
}
.win-edit-btn  { color: #5C7A6B; }
.win-edit-btn:hover  { text-decoration: underline; }
.win-delete-btn { color: #A05050; }
.win-delete-btn:hover { text-decoration: underline; }
.win-delete-area {
    margin-top: 10px; padding: 10px 12px;
    background: #FDF5F5; border: 1px solid #E8C8C8; border-radius: 6px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.win-delete-area-msg { font-size: 13px; color: #6B3030; flex: 1; }
.win-delete-area-yes {
    background: #A05050; color: #fff; border: none;
    padding: 5px 14px; border-radius: 5px; font-size: 13px; cursor: pointer;
}
.win-delete-area-yes:hover    { background: #883030; }
.win-delete-area-yes:disabled { opacity: 0.6; cursor: not-allowed; }
.win-delete-area-no {
    background: none; color: #7A7368; border: 1px solid #C8C2B8;
    padding: 5px 12px; border-radius: 5px; font-size: 13px; cursor: pointer;
}
.win-delete-area-no:hover { background: #F5F1EC; }

.win-edit-form { margin-bottom: 10px; }
.win-edit-quill-wrap .ql-toolbar { border-radius: 6px 6px 0 0; }
.win-edit-quill-wrap .ql-container { border-radius: 0 0 6px 6px; min-height: 70px; font-size: 14px; }
.win-edit-form-actions { display: flex; gap: 8px; margin-top: 6px; }
.win-reply-edit-form { margin-top: 6px; }
.win-reply-edit-actions { display: flex; gap: 8px; margin-top: 6px; }
.win-edit-save {
    background: #5C7A6B; color: #fff; border: none;
    padding: 5px 14px; border-radius: 5px; font-size: 13px; cursor: pointer;
}
.win-edit-save:hover    { background: #4A6258; }
.win-edit-save:disabled { opacity: 0.6; cursor: not-allowed; }
.win-edit-cancel {
    background: none; color: #7A7368; border: 1px solid #C8C2B8;
    padding: 5px 12px; border-radius: 5px; font-size: 13px; cursor: pointer;
}
.win-edit-cancel:hover  { background: #F5F1EC; }

.win-reply-actions { margin-left: 8px; white-space: nowrap; }
.win-reply-edit-btn, .win-reply-delete-btn {
    background: none; border: none; padding: 0 2px;
    font-size: 11px; cursor: pointer; border-radius: 3px;
}
.win-reply-edit-btn   { color: #5C7A6B; }
.win-reply-edit-btn:hover   { text-decoration: underline; }
.win-reply-delete-btn { color: #A05050; }
.win-reply-delete-btn:hover { text-decoration: underline; }
.win-reply-delete-area {
    padding: 6px 10px; margin: 2px 0 4px 0;
    background: #FDF5F5; border: 1px solid #E8C8C8; border-radius: 5px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.win-reply-delete-area-msg { font-size: 12px; color: #6B3030; flex: 1; }
.win-reply-delete-yes {
    background: #A05050; color: #fff; border: none;
    padding: 3px 10px; border-radius: 4px; font-size: 12px; cursor: pointer;
}
.win-reply-delete-yes:hover    { background: #883030; }
.win-reply-delete-yes:disabled { opacity: 0.6; cursor: not-allowed; }
.win-reply-delete-no {
    background: none; color: #7A7368; border: none;
    padding: 3px 6px; font-size: 12px; cursor: pointer;
}
.win-reply-delete-no:hover { text-decoration: underline; }

.win-reply-edit-save {
    background: #5C7A6B; color: #fff; border: none;
    padding: 4px 10px; border-radius: 5px; font-size: 12px; cursor: pointer;
}
.win-reply-edit-save:hover    { background: #4A6258; }
.win-reply-edit-save:disabled { opacity: 0.6; cursor: not-allowed; }
.win-reply-edit-cancel {
    background: none; color: #7A7368; border: none;
    padding: 4px 6px; font-size: 12px; cursor: pointer;
}
.win-reply-edit-cancel:hover  { text-decoration: underline; }

.ch-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    margin-bottom: 40px;
}
.ch-two-col .ch-section {
    margin-bottom: 0;
}

.ch-celebrations-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ch-celebrations-col .ch-celebration-chip {
    border-radius: 8px;
    padding: 8px 12px;
}

.ch-pulse-stat--highlight .ch-pulse-num { color: #3C6E8A; }
.ch-pulse-stat--highlight .ch-pulse-label { color: #3C6E8A; }

@media (max-width: 700px) {
    .ch-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ch-two-col .ch-section { margin-bottom: 36px; }
}

.celebrations-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}
.celebrations-header {
    margin-bottom: 36px;
    border-bottom: 1px solid #E8E3DC;
    padding-bottom: 24px;
}
.celebrations-title {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 300;
    color: #1A1816;
    margin: 0 0 8px;
}
.celebrations-lede { color: #7A7368; font-size: 15px; margin: 0; }

.celebrations-section { margin-bottom: 44px; }
.celebrations-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7A7368;
    margin-bottom: 16px;
    border-bottom: 1px solid #E8E3DC;
    padding-bottom: 8px;
}
.celebrations-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #E8E3DC;
    padding: 0 0 8px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7A7368;
    cursor: pointer;
    text-align: left;
}
.celebrations-section-toggle:hover { color: #2C2A26; }
.celebrations-section-toggle .toggle-chevron { transition: transform 0.2s; }
.celebrations-section-toggle[aria-expanded="false"] .toggle-chevron { transform: rotate(-90deg); }
.celebrations-loading { color: #7A7368; font-size: 14px; }
.celebrations-empty   { color: #9A9590; font-style: italic; font-size: 14px; }

.milestones-list  { display: flex; flex-direction: column; gap: 12px; }
.milestone-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #FDFBF7;
    border: 1px solid #E8E3DC;
    border-radius: 10px;
    padding: 14px 16px;
}
.milestone-emoji  { font-size: 28px; flex-shrink: 0; }
.milestone-info   { flex: 1; min-width: 0; }
.milestone-title  { font-size: 15px; font-weight: 600; color: #2C2A26; margin: 0 0 2px; }
.milestone-subtitle { font-size: 13px; color: #7A7368; margin: 0 0 2px; }
.milestone-date   { font-size: 12px; color: #9A9590; margin: 0; }
.milestone-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.ms-opt-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #7A7368;
    cursor: pointer;
    white-space: nowrap;
}
.ms-opt-check  { cursor: pointer; }
.ms-share-btn  { font-size: 12px; white-space: nowrap; }
.ms-hide-btn   { font-size: 12px; color: #9A9590 !important; margin-top: 2px; }
.ms-hide-btn:hover { color: #5C5650 !important; }

.milestones-hidden-section { margin-top: 20px; }
.milestones-hidden-toggle {
    font-size: 13px;
    font-weight: 600;
    color: #9A9590;
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}
.milestones-hidden-toggle:hover { color: #5C5650; }
.milestone-card--hidden {
    opacity: 0.6;
    background: #F5F2EE;
}

.milestones-archive { margin-bottom: 16px; }
.milestones-archive-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F2EDE6;
    border: 1px solid #D9D2C8 !important;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #5C5650;
    text-decoration: none;
}
.milestones-archive-toggle:hover { background: #E8E1D8; color: #2C2A26; text-decoration: none; }

.wins-list { display: flex; flex-direction: column; gap: 14px; }
.win-milestone-badge {
    font-size: 12px;
    font-weight: 500;
    color: #8B7355;
    margin: 0 0 6px;
}
.win-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #9A9590;
    margin-top: 8px;
}
.win-date          {}
.win-hearts        {}
.win-status-live   { color: #5C7A6B; font-weight: 500; }
.win-status-closed { color: #9A9590; }
.win-replies       { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.win-reply         { font-size: 13px; color: #3C3A36; }
.reply-username    { font-weight: 600; margin-right: 6px; }

.share-milestone-preview {
    font-size: 15px;
    font-weight: 600;
    color: #2C2A26;
    background: #FEF9F2;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

@media (max-width: 540px) {
    .milestone-card     { flex-wrap: wrap; }
    .milestone-actions  { flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; }
}

@media (max-width: 600px) {
    .community-home-wrap {
        padding: 20px 14px 60px;
    }
    .ch-greeting { margin-bottom: 24px; }
    .ch-welcome  { font-size: 20px; }
    .ch-section  { margin-bottom: 28px; }

    .ch-celebrations-col { gap: 6px; }
    .ch-celebration-chip { font-size: 12px; padding: 5px 10px; }

    .ch-pulse-num       { font-size: 20px; }
    .ch-pulse-label     { font-size: 10px; }

    .ch-post-win        { padding: 10px; }
    .ch-post-win-input  { font-size: 15px; }

    .win-card           { padding: 12px; }
    .win-body-text      { font-size: 13px; }
    
    .win-reply-compose-actions { flex-wrap: wrap; }
    .win-reply-send, .win-reply-cancel { flex: 1 1 0; }

    .celebrations-wrap  { padding: 20px 14px 60px; }
    .celebrations-title { font-size: 22px; }

    .milestone-card     { gap: 10px; padding: 12px; }
    .milestone-emoji    { font-size: 24px; }
    .milestone-title    { font-size: 14px; }
    .milestone-actions  { flex-direction: column; align-items: flex-start; width: 100%; }
    .ms-opt-label       { white-space: normal; }
    .ms-share-btn       { width: 100%; }
}

@media (max-width: 400px) {
    .ch-pulse-row       { flex-wrap: wrap; }
    .ch-pulse-stat      { flex: 0 0 calc(50% - 1px); border-right: none; border-bottom: 1px solid #E8E3DC; }
    .ch-pulse-stat:nth-child(odd)  { border-right: 1px solid #E8E3DC; }
    .ch-pulse-stat:last-child      { border-bottom: none; }
    .ch-celebration-chip { font-size: 11px; }
}

.tasklist-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}

.tasklist-header {
    margin-bottom: 28px;
}

.tasklist-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tasklist-subtitle {
    color: var(--bs-secondary);
    font-size: 14px;
    margin: 0;
}

.tasklist-add-form {
    margin-bottom: 28px;
}

.tasklist-add-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tasklist-add-input {
    flex: 1 1 auto;
    min-width: 0;
}

.tasklist-pillar-select {
    flex: 0 0 auto;
    width: 148px;
}

.tasklist-add-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.tasklist-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}

.tasklist-tab {
    background: none;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--boh-text-muted, #6c757d);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}

.tasklist-tab.active {
    color: var(--boh-blue, #3A6B8A);
    border-bottom-color: var(--boh-blue, #3A6B8A);
}

.tasklist-tab:hover:not(.active) {
    color: var(--boh-text-body, #212529);
}

.tasklist-count {
    display: inline-block;
    min-width: 18px;
    margin-left: 5px;
    background: var(--boh-blue, #3A6B8A);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    padding: 1px 5px;
    font-weight: 700;
    line-height: 16px;
    vertical-align: middle;
}

.tasklist-count:empty {
    display: none;
}

.tasklist-loading {
    display: flex;
    align-items: center;
    color: var(--bs-secondary);
    font-size: 14px;
    padding: 20px 0;
}

.tasklist-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--bs-secondary);
}

.tasklist-empty-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    opacity: .5;
}

.tasklist-empty p {
    margin: 0;
    font-size: 15px;
}

.tasklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color .15s, opacity .2s;
}

.tasklist-item:hover {
    border-color: #adb5bd;
}

.tasklist-item--done {
    opacity: .75;
    background: #f8f9fa;
}

.tasklist-item--done .tasklist-item-text {
    text-decoration: line-through;
    color: var(--bs-secondary);
}

.tasklist-item--dismissed {
    opacity: .55;
    background: #f8f9fa;
}

.tasklist-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.tasklist-item-text {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
    margin-bottom: 6px;
}

.tasklist-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.tasklist-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--bs-secondary);
    background: #f1f3f5;
    border-radius: 4px;
    padding: 2px 7px;
}

.tasklist-pillar-badge {
    display: inline-block;
    border-radius: 4px;
    padding: 2px 7px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.pillar-trust          { background: #e8f4fd; color: #0a6ebd; }
.pillar-resiliency     { background: #e9f7ef; color: #1a7f4b; }
.pillar-accountability { background: #fef3e2; color: #a05a00; }
.pillar-understanding  { background: #f0eafb; color: #6930c3; }
.pillar-mindfulness    { background: #e6f7f7; color: #0e7c7c; }
.pillar-action         { background: #fde8e8; color: #b02a2a; }

.tasklist-item-date {
    color: #adb5bd;
}

.tasklist-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.tasklist-btn-complete {
    color: #1a7f4b;
    border: 1px solid #c3e6cb;
    background: #e9f7ef;
    font-size: 13px;
    padding: 4px 10px;
}

.tasklist-btn-complete:hover {
    background: #d4edda;
    color: #155724;
}

.tasklist-btn-dismiss {
    color: var(--bs-secondary);
    background: transparent;
    border: 1px solid #dee2e6;
    font-size: 13px;
    padding: 4px 8px;
}

.tasklist-btn-dismiss:hover {
    background: #f8f9fa;
    color: var(--bs-body-color);
}

.tasklist-btn-reopen {
    color: var(--bs-secondary);
    border: 1px solid #dee2e6;
    background: transparent;
    font-size: 13px;
    padding: 4px 10px;
}

.tasklist-btn-reopen:hover {
    background: #f8f9fa;
    color: var(--bs-body-color);
}

@media (max-width: 576px) {
    .tasklist-wrap          { padding: 24px 14px 60px; }
    .tasklist-title         { font-size: 22px; }
    .tasklist-add-row       { flex-wrap: wrap; }
    .tasklist-pillar-select { width: 100%; order: 2; }
    .tasklist-add-input     { order: 1; }
    .tasklist-add-btn       { order: 3; width: 100%; }
    .tasklist-tab           { padding: 8px 12px; font-size: 13px; }
    .tasklist-item          { flex-direction: column; gap: 10px; }
    .tasklist-item-actions  { width: 100%; justify-content: flex-start; }
}

.db-expand {
    background: #fff;
    border: 1px solid #e0dbd4;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
}

.db-expand-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: background .1s;
}

.db-expand-header:hover { background: #f7f5f2; }

.db-expand.open .db-expand-header { border-bottom-color: #e0dbd4; }

.db-expand-title {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
    color: #2d2a26;
    margin: 0;
}

.db-expand-meta {
    font-size: 11px;
    font-weight: 600;
    color: #4A8FA3;
    background: #EBF5F8;
    border-radius: 20px;
    padding: 2px 9px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity .15s;
}

.db-expand.open .db-expand-meta { opacity: 0; pointer-events: none; }

.db-expand-chevron {
    font-size: 14px;
    color: #6c757d;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.db-expand.open .db-expand-chevron { transform: rotate(180deg); }

.db-expand-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.db-expand.open .db-expand-body { grid-template-rows: 1fr; }

.db-expand-body > div { overflow: hidden; }

.db-expand .db-checkin-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}

.db-expand-meds-body { padding: 14px 16px 0; }

.db-subexpand {
    border-top: 1px solid rgba(60, 50, 40, 0.08);
    margin-top: 14px;
}

.db-subexpand-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 2px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.db-subexpand-title {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #6b5e4e;
}

.db-subexpand-chevron {
    font-size: 12px;
    color: #9A9590;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.db-subexpand.open .db-subexpand-chevron { transform: rotate(180deg); }

.db-subexpand-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.db-subexpand.open .db-subexpand-body { grid-template-rows: 1fr; }

.db-subexpand-body > div { overflow: hidden; }

.db-subexpand .db-checkin-chart {
    padding: 0 0 6px;
    border-top: none;
    margin-top: 0;
}

.db-meds-note {
    font-size: 0.88rem;
    color: #6b5e4e;
    line-height: 1.6;
    padding: 12px 16px 4px;
    margin: 0;
}

.db-meds-card {
    background: #faf9f7;
    border: 1px solid #e0dbd4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
}
.db-med-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0ebe4;
    gap: 12px;
}
.db-med-row:last-child { border-bottom: none; }
.db-med-row--upcoming { opacity: 0.5; }
.db-med-info  { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.db-med-name  { font-weight: 600; font-size: 14px; }
.db-med-time  { font-size: 12px; color: #888; }
.db-med-upcoming-tag { font-style: italic; margin-left: 4px; }
.db-med-actions { display: flex; gap: 6px; flex-shrink: 0; }

.db-med-btn {
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1.5px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: background .12s, color .12s, border-color .12s;
    white-space: nowrap;
}
.db-med-btn--taken  { border-color: #4A8FA3; color: #4A8FA3; }
.db-med-btn--taken.db-med-btn--active  { background: #4A8FA3; color: #fff; }
.db-med-btn--missed { border-color: #c0392b; color: #c0392b; }
.db-med-btn--missed.db-med-btn--active { background: #c0392b; color: #fff; }
.db-med-btn:hover { opacity: .85; }
.db-med-btn:disabled { opacity: .5; cursor: default; }

@media (max-width: 480px) {
    .db-med-row       { flex-direction: column; align-items: flex-start; }
    .db-med-actions   { width: 100%; }
    .db-med-btn       { flex: 1; text-align: center; }
}

.meds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}
.meds-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #faf9f7;
    border: 1.5px solid #e0dbd4;
    border-radius: 8px;
    transition: border-color .1s, background .1s;
}
.meds-card--active {
    border-color: #4A8FA3;
    background: #EBF5F8;
}
.meds-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.meds-name {
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.meds-dose {
    font-size: 12px;
    color: #3d3a36;
}
.meds-schedule-summary {
    font-size: 11px;
    color: #5a8a9e;
    overflow-wrap: anywhere;
}
.meds-notes {
    font-size: 11px;
    color: #6c757d;
    overflow-wrap: anywhere;
}
.meds-empty {
    padding: 28px 20px;
    text-align: center;
    background: #faf9f7;
    border: 1.5px dashed #e0dbd4;
    border-radius: 8px;
}

.sched-day-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.sched-day-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: #fff;
    color: #3d3a36;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.sched-day-btn.active {
    background: #4A8FA3;
    border-color: #4A8FA3;
    color: #fff;
}
.sched-day-btn:hover:not(.active) {
    border-color: #4A8FA3;
    color: #4A8FA3;
}
.sched-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.sched-time-row .form-control { max-width: 150px; }

.nav-welcome {
    font-weight: 600;
    letter-spacing: .01em;
}

.modal-follow-row {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.modal-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid #9CB9B0;
    background: #fff;
    color: #3d6b62;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.modal-follow-btn:hover {
    background: #EBF4F1;
    border-color: #4A8FA3;
}
.modal-follow-btn--active {
    background: #D4EDE6;
    border-color: #4A8FA3;
    color: #1f5d52;
}
.modal-follow-hint {
    font-size: 12px;
    color: #6c757d;
}

.mma-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}
.mma-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.mma-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0 0 4px;
}
.mma-subtitle {
    color: #6c757d;
    margin: 0;
    font-size: 15px;
}
.mma-cal-btn {
    white-space: nowrap;
    flex-shrink: 0;
}
.mma-tip {
    background: #EBF4F1;
    border: 1px solid #b0d4ca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #2b5a52;
    margin-bottom: 24px;
}
.mma-loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}
.mma-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #dee2e6;
    border-top-color: #4A8FA3;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mma-empty {
    text-align: center;
    padding: 60px 20px;
}
.mma-empty-icon {
    font-size: 3rem;
    color: #c8d3d9;
    display: block;
    margin-bottom: 16px;
}
.mma-empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}
.mma-empty-hint {
    color: #6c757d;
    font-size: 14px;
}
.mma-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9fa8a3;
    margin: 28px 0 12px;
}
.mma-week-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.mma-day-col {
    flex: 1 1 180px;
    min-width: 160px;
}
.mma-day-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 6px;
    margin-bottom: 10px;
}
.mma-onetime-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mma-card {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #e0e7ea;
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: box-shadow .15s, opacity .3s, transform .3s;
}
.mma-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}
.mma-card--removing {
    opacity: 0;
    transform: scale(.95);
    pointer-events: none;
}
.mma-card.conference-line-meeting { border-left: 4px solid #5B9EBF; }
.mma-card.zoom-meeting             { border-left: 4px solid #7B68EE; }
.mma-card.in-person-meeting        { border-left: 4px solid #6BAE75; }
.mma-card.hybrid-meeting           { border-left: 4px solid #B8944A; }

.mma-card-time {
    font-size: 17px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 4px;
    line-height: 1.2;
}
.mma-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}
.mma-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--boh-text-body);
    margin-bottom: 5px;
}
.mma-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.mma-card-next {
    font-size: 11px;
    color: #9fa8a3;
}
.mma-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
}
.mma-action-link {
    color: #6c757d;
    font-size: 16px;
    text-decoration: none;
    transition: color .15s;
}
.mma-action-link:hover { color: #4A8FA3; }
.mma-unfollow-btn {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 14px;
    border: 1.5px solid #dc3545;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background .12s, color .12s;
}
.mma-unfollow-btn:hover {
    background: #dc3545;
    color: #fff;
}
.mma-unfollow-btn:disabled {
    opacity: .5;
    pointer-events: none;
}

@media (max-width: 600px) {
    .mma-week-grid { flex-direction: column; }
    .mma-day-col   { min-width: 0; }
    .mma-header    { flex-direction: column; }
}

.event-materials-section {
    border-top: 1px solid #e9ecef;
    padding-top: 14px;
}
.event-materials-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5a6474;
    margin-bottom: 10px;
}
.event-material-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    gap: 0;
}
.event-material-cover {
    width: 80px;
    min-width: 80px;
    object-fit: cover;
    border-right: 1px solid #e9ecef;
}
.event-material-body {
    padding: 10px 12px;
    flex: 1;
}
.event-material-title { font-size: 0.95rem; }
.event-material-desc {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 4px 0 0;
}
.event-material-bring {
    font-size: 0.82rem;
    color: #495057;
    margin-top: 6px;
}

.ma-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.ma-progress-bar {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.ma-progress-fill {
    height: 100%;
    background: #4A8FA3;
    border-radius: 4px;
    transition: width 0.3s ease;
}
.ma-progress-label {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
}

:root {
    --tax-clinical:   #4A6FA5;
    --tax-functional: #3D7A56;
    --tax-somatic:    #C4884A;
    --tax-relational: #7A4A8A;
    --tax-lh-common:   #1e7e34;
    --tax-lh-frequent: #0062cc;
    --tax-lh-possible: #6c757d;
    --tax-border:     #e2ddd5;
    --tax-bg:         #f8f5f0;
    --tax-accent:     #7A5C8A;
}

.tax-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    background: var(--tax-bg);
    overflow: hidden;
}

.tax-header {
    padding: 0.85rem 1.5rem 0.7rem;
    background: #fff;
    border-bottom: 1px solid var(--tax-border);
    flex-shrink: 0;
}
.tax-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tax-accent);
    margin: 0;
    line-height: 1.2;
}
.tax-subtitle {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 0.2rem 0 0;
}

.tax-exp-controls {
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid var(--tax-border);
    flex-shrink: 0;
    background: #fff;
}
.tax-exp-search-wrap {
    position: relative;
}
.tax-search-icon-wrap {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9e9890;
    pointer-events: none;
    font-size: 0.85rem;
}
.tax-search-input {
    width: 100%;
    padding: 0.45rem 0.75rem 0.45rem 2rem;
    border: 1px solid var(--tax-border);
    border-radius: 20px;
    font-size: 0.85rem;
    background: var(--tax-bg);
    color: #3a3530;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.tax-search-input:focus {
    border-color: var(--tax-accent);
    box-shadow: 0 0 0 3px rgba(122,92,138,.12);
}

.tax-mobile-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid var(--tax-border);
    flex-shrink: 0;
}
.tax-mtab {
    flex: 1;
    padding: 0.6rem 0.5rem;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.tax-mtab--active {
    color: var(--tax-accent);
    border-bottom-color: var(--tax-accent);
}

.tax-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    gap: 0;
}

.tax-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

@media (max-width: 991.98px) {
    .tax-body { position: relative; }
    .tax-panel {
        position: absolute;
        inset: 0;
        display: none;
    }
    .tax-panel--mobile-visible { display: flex; }
}

@media (min-width: 992px) {
    .tax-panel--domains {
        width: 270px;
        flex-shrink: 0;
        border-right: 1px solid var(--tax-border);
    }
    .tax-panel--workspace {
        flex: 1;
        border-right: 1px solid var(--tax-border);
        background: var(--tax-bg);
    }
    .tax-panel--effects {
        width: 300px;
        flex-shrink: 0;
    }
}

.tax-panel-topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem 0.5rem;
    border-bottom: 1px solid var(--tax-border);
    flex-shrink: 0;
    background: #fff;
}
.tax-topbar-label {
    flex: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9e9890;
}
.tax-icon-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--tax-border);
    border-radius: 6px;
    background: #fff;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.tax-icon-btn:hover {
    background: var(--tax-bg);
    color: var(--tax-accent);
    border-color: var(--tax-accent);
}
.tax-icon-btn--primary {
    border-color: var(--tax-accent);
    color: var(--tax-accent);
}
.tax-icon-btn--primary:hover {
    background: var(--tax-accent);
    color: #fff;
}
.tax-icon-btn--muted {
    color: #6c757d;
    border-color: #ddd;
}
.tax-text-btn {
    width: auto;
    height: 28px;
    padding: 0 0.55rem;
    border: 1px solid var(--tax-accent);
    border-radius: 6px;
    background: #fff;
    color: var(--tax-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.tax-text-btn:hover {
    background: var(--tax-accent);
    color: #fff;
}

.tax-panel-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.tax-loading-msg {
    padding: 1.5rem 1rem;
    color: #9e9890;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}
.tax-no-results {
    padding: 1.5rem 1rem;
    color: #9e9890;
    font-size: 0.84rem;
    font-style: italic;
}
.tax-error {
    padding: 1.5rem 1rem;
    color: #b93a3a;
    font-size: 0.85rem;
}

.tax-domain-group {
    border-bottom: 1px solid var(--tax-border);
}
.tax-domain-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem 0.5rem 0.5rem;
    background: #faf8f5;
    cursor: default;
    position: sticky;
    top: 0;
    z-index: 1;
}
.tax-domain-collapse {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #9e9890;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tax-domain-collapse:hover { color: var(--tax-accent); }
.tax-domain-name {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tax-accent);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tax-domain-count {
    font-size: 0.7rem;
    color: #6c757d;
    flex-shrink: 0;
}
.tax-domain-edit-btn,
.tax-domain-add-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #b5b0a8;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
    transition: color 0.12s, background 0.12s;
}
.tax-domain-edit-btn:hover { color: var(--tax-accent); background: rgba(122,92,138,.1); }
.tax-domain-add-btn:hover { color: #3D7A56; background: rgba(61,122,86,.1); }

.tax-domain-exps { overflow: hidden; }
.tax-domain-exps--collapsed { display: none; }
.tax-exp-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.75rem 0.42rem 1.1rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.1s, border-color 0.1s;
}
.tax-exp-item:hover {
    background: rgba(122,92,138,.05);
    border-left-color: rgba(122,92,138,.25);
}
.tax-exp-item--active {
    background: rgba(122,92,138,.1);
    border-left-color: var(--tax-accent);
}
.tax-exp-name {
    flex: 1;
    font-size: 0.8rem;
    color: #3a3530;
    line-height: 1.35;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}
.tax-exp-mapcount {
    font-size: 0.68rem;
    background: var(--tax-accent);
    color: #fff;
    border-radius: 10px;
    padding: 0 0.4em;
    min-width: 1.4em;
    text-align: center;
    flex-shrink: 0;
}
.tax-exp-mapcount--none {
    background: #e0dbd4;
    color: #9e9890;
}

.tax-ws-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}
.tax-ws-empty-icon {
    font-size: 2.5rem;
    color: #c5bfb5;
    margin-bottom: 1rem;
}
.tax-ws-empty-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0 0 0.4rem;
}
.tax-ws-empty-hint {
    font-size: 0.85rem;
    color: #9e9890;
    margin: 0;
    max-width: 340px;
}

.tax-workspace-exp {
    padding: 1.5rem;
    height: 100%;
    overflow-y: auto;
}
.tax-ws-breadcrumb {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tax-accent);
    margin-bottom: 0.4rem;
    opacity: 0.7;
}
.tax-ws-titlerow {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.tax-ws-title {
    flex: 1;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2c2824;
    margin: 0;
    line-height: 1.25;
}
.tax-ws-title-actions {
    display: flex;
    gap: 0.35rem;
    padding-top: 0.25rem;
    flex-shrink: 0;
}
.tax-ws-clinical {
    font-size: 0.8rem;
    color: #9e9890;
    margin-bottom: 0.5rem;
}
.tax-ws-inactive-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #b93a3a;
    background: #fdeaea;
    border-radius: 4px;
    padding: 0.2em 0.55em;
    margin-bottom: 0.75rem;
}

.tax-ws-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9e9890;
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--tax-border);
}
.tax-ws-mapcount {
    background: var(--tax-accent);
    color: #fff;
    border-radius: 10px;
    padding: 0 0.45em;
    font-size: 0.7rem;
}

.tax-ws-chips-area {
    min-height: 60px;
    border-radius: 8px;
    transition: background 0.15s;
    padding-bottom: 0.5rem;
}
.tax-ws-chips-area.tax-drop-zone--over {
    background: rgba(122,92,138,.06);
}
.tax-ws-no-mappings {
    font-size: 0.83rem;
    color: #9e9890;
    font-style: italic;
    padding: 0.5rem 0;
}

.tax-ws-type-group { margin-bottom: 1rem; }
.tax-ws-type-label {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.tax-ws-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tax-chip {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem 0.35rem 0.4rem;
    background: #fff;
    border: 1px solid var(--tax-border);
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: box-shadow 0.12s;
}
.tax-chip:hover { box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.tax-chip-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.tax-chip-primary {
    color: #3a3530;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}
.tax-chip-secondary {
    color: #888;
    font-size: 0.72rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}
.tax-chip-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-top: 1px;
}
.tax-chip-lh {
    border: none;
    border-radius: 10px;
    padding: 0.1em 0.55em;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.5;
    transition: opacity 0.12s;
}
.tax-chip-lh:hover { opacity: 0.8; }
.tax-chip-lh--common   { background: #d4edda; color: var(--tax-lh-common); }
.tax-chip-lh--frequent { background: #cce5ff; color: var(--tax-lh-frequent); }
.tax-chip-lh--possible { background: #e2e3e5; color: var(--tax-lh-possible); }
.tax-chip-remove {
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    background: transparent;
    color: #ccc;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.12s, color 0.12s;
}
.tax-chip-remove:hover { background: #fdeaea; color: #b93a3a; }

.tax-type-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.tax-drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1.25rem;
    padding: 1.25rem 1rem;
    border: 2px dashed #d5cfc6;
    border-radius: 10px;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    cursor: default;
}
.tax-drop-zone--over {
    border-color: var(--tax-accent);
    background: rgba(122,92,138,.06);
}
.tax-drop-icon {
    font-size: 1.5rem;
    color: #c5bfb5;
}
.tax-drop-zone--over .tax-drop-icon { color: var(--tax-accent); }
.tax-drop-text {
    font-size: 0.83rem;
    color: #9e9890;
}
.tax-drop-hint {
    font-size: 0.75rem;
    color: #b5b0a8;
}

.tax-effects-controls {
    padding: 0.6rem 0.65rem 0.5rem;
    border-bottom: 1px solid var(--tax-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
}
.tax-eff-search-wrap {
    position: relative;
}

.tax-type-tabs {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}
.tax-type-tab {
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--tax-border);
    border-radius: 12px;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    white-space: nowrap;
}
.tax-type-tab--active {
    background: var(--tax-accent);
    border-color: var(--tax-accent);
    color: #fff;
}
.tax-type-tab--clinical:hover   { border-color: var(--tax-clinical);   color: var(--tax-clinical); }
.tax-type-tab--functional:hover { border-color: var(--tax-functional); color: var(--tax-functional); }
.tax-type-tab--somatic:hover    { border-color: var(--tax-somatic);    color: var(--tax-somatic); }
.tax-type-tab--relational:hover { border-color: var(--tax-relational); color: var(--tax-relational); }

.tax-eff-type-header {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.65rem 0.75rem 0.25rem;
    background: var(--tax-bg);
    position: sticky;
    top: 0;
    z-index: 1;
}

.tax-eff-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid #f0ece7;
    cursor: grab;
    transition: background 0.1s;
    user-select: none;
}
.tax-eff-item:hover {
    background: rgba(122,92,138,.04);
}
.tax-eff-item--mapped {
    background: rgba(30,126,52,.04);
}
.tax-eff-item--dragging {
    opacity: 0.5;
    cursor: grabbing;
}
.tax-eff-drag-handle {
    color: #d5d0ca;
    font-size: 0.75rem;
    flex-shrink: 0;
    cursor: grab;
}
.tax-eff-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.tax-eff-name {
    font-size: 0.8rem;
    color: #3a3530;
    line-height: 1.3;
}
.tax-eff-clinical {
    font-size: 0.7rem;
    color: #9e9890;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tax-eff-meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.tax-eff-mapped-icon {
    color: var(--tax-lh-common);
    font-size: 0.8rem;
}
.tax-eff-count {
    font-size: 0.68rem;
    color: #b5b0a8;
    min-width: 2em;
    text-align: right;
}
.tax-eff-edit-btn {
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: #b5b0a8;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color 0.12s, background 0.12s;
}
.tax-eff-edit-btn:hover { color: var(--tax-accent); background: rgba(122,92,138,.1); }

.tax-likelihood-picker {
    background: #fff;
    border: 1px solid var(--tax-border);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    padding: 0.65rem 0.75rem;
    min-width: 150px;
}
.tax-lh-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9e9890;
    margin-bottom: 0.5rem;
}
.tax-lh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    font-size: 0.82rem;
    color: #3a3530;
    cursor: pointer;
    transition: background 0.1s;
    text-align: left;
}
.tax-lh-btn:hover { background: var(--tax-bg); }
.tax-lh-btn--active { background: var(--tax-bg); border-color: var(--tax-border); font-weight: 600; }
.tax-lh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.tax-lh-dot--common   { background: var(--tax-lh-common); }
.tax-lh-dot--frequent { background: var(--tax-lh-frequent); }
.tax-lh-dot--possible { background: var(--tax-lh-possible); }

@media (max-width: 575.98px) {
    .tax-workspace-exp { padding: 1rem; }
    .tax-ws-title { font-size: 1.1rem; }
    .tax-chip-primary { font-size: 0.75rem; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .tax-panel--domains  { width: 240px; }
    .tax-panel--effects  { width: 270px; }
}

@media (min-width: 1400px) {
    .tax-panel--domains  { width: 300px; }
    .tax-panel--effects  { width: 320px; }
}

.tax-eff-group {
    border-bottom: 1px solid var(--tax-border);
}
.tax-eff-group:last-child {
    border-bottom: none;
}
.tax-eff-group-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 8px;
    background: var(--tax-bg);
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid var(--tax-border);
}
.tax-eff-collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    color: #888;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.75rem;
}
.tax-eff-collapse:hover { background: rgba(0,0,0,.07); color: #555; }
.tax-eff-group-name {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    flex: 1;
}
.tax-eff-group-count {
    font-size: 0.7rem;
    color: #6c757d;
    background: rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 0 6px;
    line-height: 1.6;
}
.tax-eff-type-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: #6c757d;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
}
.tax-eff-type-add-btn:hover { color: var(--tax-accent); border-color: var(--tax-accent); background: rgba(122,92,138,.06); }
.tax-eff-group-items { padding: 4px 0; }

.tax-subtitle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tax-subtitle-row .tax-subtitle {
    margin: 0;
    flex: 1;
    min-width: 0;
}
.tax-instructions-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    background: var(--tax-accent);
    color: #fff;
    border-color: var(--tax-accent);
    font-weight: 600;
    letter-spacing: .01em;
}
.tax-instructions-btn:hover,
.tax-instructions-btn:focus {
    background: #6a4d78;
    border-color: #6a4d78;
    color: #fff;
}

.tax-instructions-highlight {
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 4px solid #0d6efd;
}
.tax-instr-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--tax-accent);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--tax-border);
}
.tax-instr-card {
    border: 1px solid var(--tax-border);
    border-radius: 8px;
    padding: 14px 16px;
    height: 100%;
    background: var(--tax-bg);
}
.tax-instr-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #3a3530;
}
.tax-instr-list {
    padding-left: 1.4rem;
}
.tax-instr-list li {
    margin-bottom: 6px;
    line-height: 1.6;
    font-size: 0.9rem;
}
.tax-instructions-body p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.tax-editlog-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    background: #3d5a80;
    color: #fff;
    border-color: #3d5a80;
    font-weight: 600;
}
.tax-editlog-btn:hover,
.tax-editlog-btn:focus {
    background: #2e4363;
    border-color: #2e4363;
    color: #fff;
}

.tax-log-toolbar {
    padding: 12px 16px 0;
    border-bottom: 1px solid var(--tax-border);
    background: var(--tax-bg);
}
.tax-log-period-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding-bottom: 12px;
}
.tax-log-ptab {
    padding: 4px 14px;
    border: 1px solid var(--tax-border);
    border-radius: 20px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.12s;
}
.tax-log-ptab:hover { border-color: #3d5a80; color: #3d5a80; }
.tax-log-ptab--active {
    background: #3d5a80;
    border-color: #3d5a80;
    color: #fff;
}
.tax-log-loading {
    padding: 2rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}
.tax-log-empty {
    padding: 2rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}
.tax-log-list {
    display: flex;
    flex-direction: column;
}
.tax-log-entry {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--tax-border);
    transition: background 0.1s;
}
.tax-log-entry:last-child { border-bottom: none; }
.tax-log-entry:hover { background: rgba(0,0,0,.02); }
.tax-log-entry--undone { opacity: 0.55; }
.tax-log-entry--reported { background: rgba(220,53,69,.03); }
.tax-log-entry--is-undo { background: rgba(25,135,84,.04); }
.tax-log-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(61,90,128,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.tax-log-entry--is-undo .tax-log-icon-wrap { background: rgba(25,135,84,.12); }
.tax-log-entry--reported .tax-log-icon-wrap { background: rgba(220,53,69,.1); }
.tax-log-icon { color: #3d5a80; font-size: 0.9rem; }
.tax-log-entry--is-undo .tax-log-icon { color: #198754; }
.tax-log-entry--reported .tax-log-icon { color: #dc3545; }
.tax-log-content {
    flex: 1;
    min-width: 0;
}
.tax-log-top {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.tax-log-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a3530;
}
.tax-log-entity {
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 2px;
    word-break: break-word;
}
.tax-log-detail {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 2px;
}
.tax-log-meta {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.tax-log-sep { width: 3px; height: 3px; background: #ccc; border-radius: 50%; }
.tax-log-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 10px;
}
.tax-log-badge--undo    { background: rgba(25,135,84,.15); color: #198754; }
.tax-log-badge--report  { background: rgba(220,53,69,.15); color: #dc3545; }
.tax-log-badge--undone  { background: rgba(0,0,0,.08); color: #666; }
.tax-log-badge--reported { background: rgba(220,53,69,.15); color: #dc3545; }
.tax-log-btns {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    align-items: flex-end;
}
.tax-log-undo-btn,
.tax-log-report-btn {
    font-size: 0.72rem;
    padding: 2px 10px;
    white-space: nowrap;
}

.alog-wrap {
    padding: 0;
}
.alog-header {
    padding: 1.5rem 1.75rem 0.75rem;
    border-bottom: 1px solid #e8e4e0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.alog-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2c2825;
    margin: 0 0 0.2rem;
}
.alog-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}
.alog-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.9rem 1.75rem;
    border-bottom: 1px solid #e8e4e0;
    background: #faf9f7;
}
.alog-filters {
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
    flex: 1;
}
.alog-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.alog-filter-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6c757d;
    margin: 0;
}
.alog-select {
    width: 160px;
    font-size: 0.82rem;
}
.alog-period-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.alog-ptab {
    padding: 4px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.12s;
}
.alog-ptab:hover { border-color: #3d5a80; color: #3d5a80; }
.alog-ptab--active { background: #3d5a80; border-color: #3d5a80; color: #fff; }
.alog-meta {
    font-size: 0.78rem;
    color: #6c757d;
    white-space: nowrap;
}
.alog-loading,
.alog-empty {
    padding: 2.5rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}
.alog-list {
    display: flex;
    flex-direction: column;
}
.alog-entry {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 1.75rem;
    border-bottom: 1px solid #f0ece8;
    transition: background 0.1s;
}
.alog-entry:last-child { border-bottom: none; }
.alog-entry:hover { background: rgba(0,0,0,.015); }
.alog-entry--undone { opacity: 0.5; }
.alog-entry--reported { background: rgba(220,53,69,.03); }
.alog-entry--is-undo { background: rgba(25,135,84,.035); }
.alog-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.alog-icon { font-size: 0.9rem; }
.alog-content { flex: 1; min-width: 0; }
.alog-top {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.alog-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a3530;
}
.alog-module-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 2px 8px;
    border-radius: 10px;
}
.alog-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 10px;
}
.alog-badge--undo     { background: rgba(25,135,84,.15);  color: #198754; }
.alog-badge--report   { background: rgba(220,53,69,.15);  color: #dc3545; }
.alog-badge--undone   { background: rgba(0,0,0,.08);      color: #666; }
.alog-badge--reported { background: rgba(220,53,69,.15);  color: #dc3545; }
.alog-entity {
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 2px;
    word-break: break-word;
}
.alog-detail {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 2px;
}
.alog-meta-row {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.alog-sep { width: 3px; height: 3px; background: #ccc; border-radius: 50%; }
.alog-btns {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    align-items: flex-end;
}
.alog-undo-btn,
.alog-report-btn {
    font-size: 0.72rem;
    padding: 2px 10px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .alog-entry { padding: 10px 1rem; }
    .alog-header { padding: 1rem 1rem 0.5rem; }
    .alog-toolbar { padding: 0.75rem 1rem; gap: 0.75rem; }
    .alog-select { width: 130px; }
}

.db-rec-note {
    font-size: 0.88rem;
    color: #6b5e4e;
    line-height: 1.6;
    padding: 12px 16px 4px;
    margin: 0;
}

.db-rec-crisis {
    background: #fff3cd;
    border: 1px solid #ffe08a;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 12px 16px 0;
    font-size: 0.88rem;
    color: #6b4c00;
}
.db-rec-crisis-title { font-weight: 600; margin-bottom: 4px; }
.db-rec-crisis-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.db-rec-cards { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }

.db-rec-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #faf9f7;
    border: 1px solid #e0dbd4;
    border-radius: 10px;
    padding: 12px 14px;
    gap: 12px;
}
.db-rec-encouragement {
    flex-basis: 100%;
    margin-top: 2px;
    padding: 10px 12px;
    background: #eef6f1;
    border: 1px solid #cfe6d8;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #2d6a4f;
}
.db-rec-card-info { flex: 1; min-width: 0; }
.db-rec-card-label { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.db-rec-card-streak { font-size: 12px; color: #888; margin-top: 2px; }
.db-rec-card-streak strong { color: #2d6a4f; font-size: 13px; }

.db-rec-card-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }

.db-rec-status-btn {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1.5px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: background .12s, color .12s, border-color .12s;
    white-space: nowrap;
    line-height: 1.4;
}
.db-rec-status-btn[data-status="thriving"]   { border-color: #146c47; color: #146c47; }
.db-rec-status-btn[data-status="well"]       { border-color: #4A8FA3; color: #4A8FA3; }
.db-rec-status-btn[data-status="close_call"] { border-color: #7b6f9e; color: #7b6f9e; }
.db-rec-status-btn[data-status="struggling"] { border-color: #d68c2e; color: #d68c2e; }
.db-rec-status-btn[data-status="setback"]    { border-color: #c0392b; color: #c0392b; }
.db-rec-status-btn.db-rec-status-active[data-status="thriving"]   { background: #146c47; color: #fff; border-color: #146c47; }
.db-rec-status-btn.db-rec-status-active[data-status="well"]       { background: #4A8FA3; color: #fff; border-color: #4A8FA3; }
.db-rec-status-btn.db-rec-status-active[data-status="close_call"] { background: #7b6f9e; color: #fff; border-color: #7b6f9e; }
.db-rec-status-btn.db-rec-status-active[data-status="struggling"] { background: #d68c2e; color: #fff; border-color: #d68c2e; }
.db-rec-status-btn.db-rec-status-active[data-status="setback"]    { background: #c0392b; color: #fff; border-color: #c0392b; }
.db-rec-status-btn:disabled { opacity: .5; cursor: default; }
.db-rec-status-btn:hover:not(:disabled) { opacity: .85; }

.db-rec-checked-badge {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #eaf6f0;
    color: #2d6a4f;
    border: 1px solid #b7dfc8;
    white-space: nowrap;
}

.db-rec-empty {
    padding: 20px 16px;
    text-align: center;
    color: #888;
    font-size: 0.88rem;
}
.db-rec-empty a { color: var(--boh-primary, #4A8FA3); }

.db-rec-footer {
    padding: 8px 16px 14px;
    text-align: right;
    font-size: 0.82rem;
}
.db-rec-footer a { color: var(--boh-primary, #4A8FA3); }

@media (max-width: 575px) {
    .db-rec-card { flex-direction: column; align-items: flex-start; }
    .db-rec-card-actions { width: 100%; }
    .db-rec-status-btn { flex: 1; text-align: center; }
}

.pg-wrap {
    margin-top: 0.75rem;
}

.pg-toggle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--boh-blue);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: color 0.15s ease;
}

.pg-toggle:hover {
    color: var(--boh-blue-dark);
}

.pg-chevron {
    margin-left: 0.25rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pg-toggle[aria-expanded="true"] .pg-chevron {
    transform: rotate(180deg);
}

.pg-box {
    margin-top: 0.6rem;
    background: color-mix(in srgb, var(--boh-blue) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--boh-blue) 28%, #fff);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .pg-box { grid-template-columns: 1fr 1fr; }
}

.pg-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--boh-blue);
    margin: 0 0 0.45rem 0;
}

.pg-body {
    font-size: 0.875rem;
    color: var(--boh-text-body);
    line-height: 1.65;
    margin: 0;
}

.pg-steps {
    font-size: 0.875rem;
    color: var(--boh-text-body);
    line-height: 1.65;
    padding-left: 1.2rem;
    margin: 0;
}

.pg-steps li + li {
    margin-top: 0.2rem;
}

#my_status {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
}

.status-report-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.status-report-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.status-report-row:last-child { border-bottom: none; }

.status-report-label {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    min-width: 0;
}

.status-report-queue {
    font-size: 0.8rem;
    color: #555;
    background: #f0f0f0;
    border-radius: 12px;
    padding: 2px 10px;
    white-space: nowrap;
}

.status-report-date {
    font-size: 0.8rem;
    color: #888;
    white-space: nowrap;
}

.status-report-badge {
    font-size: 0.78rem;
    border-radius: 12px;
    padding: 2px 10px;
    background: #e8f4fd;
    color: #1a6ea8;
    white-space: nowrap;
}

.status-report-badge.handled {
    background: #d4edda;
    color: #1e6b3a;
}

.status-against-history {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.status-against-history-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 16px 6px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.status-against-history-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.status-against-history-row:last-child { border-bottom: none; }

.status-against-history-date {
    font-size: 0.82rem;
    color: #888;
    white-space: nowrap;
    min-width: 90px;
}

.status-against-history-outcome {
    font-size: 0.85rem;
    color: #444;
}

.status-against-history-outcome.confirmed {
    color: #842029;
    font-weight: 600;
}

.it-app-tech {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.it-app-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.it-app-col .report-it-tech-row {
    justify-content: flex-start;
    gap: 8px;
}
.it-app-col .report-it-tech-row label {
    flex: 0 0 80px;
    white-space: nowrap;
}
.it-app-col .report-it-tech-row .report-it-years {
    width: 80px;
    flex: 0 0 80px;
}
@media (max-width: 420px) {
    .it-app-tech {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .admin-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .au-table .btn,
    .au-table td.text-end {
        white-space: nowrap;
    }
}

.wt-meta { background: var(--boh-bg-light); border: 1px solid var(--boh-border); border-radius: 10px; padding: 12px 16px; }
.wt-meta-key { font-family: monospace; font-size: .95rem; color: var(--boh-text-heading); background: var(--boh-bg-cream); border: 1px solid var(--boh-border); padding: 2px 8px; border-radius: 6px; }
.wt-meta-badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 20px; margin-left: 6px; }
.wt-meta-badge.wt-on { background: var(--boh-sage); color: #fff; }
.wt-meta-badge.wt-off { background: var(--boh-taupe); color: #fff; }
.wt-steps-list { list-style: none; margin: 0; padding: 0; counter-reset: wtstep; }
.wt-step { counter-increment: wtstep; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--boh-border); border-radius: 10px; background: var(--boh-bg-cream); margin-bottom: 10px; }
.wt-step::before { content: counter(wtstep); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--boh-blue); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.wt-step--off { opacity: .6; }
.wt-step-move { display: flex; flex-direction: column; gap: 2px; }
.wt-move { border: 1px solid var(--boh-border); background: var(--boh-bg-light); color: var(--boh-text-muted); border-radius: 5px; width: 24px; height: 20px; line-height: 1; font-size: .7rem; cursor: pointer; }
.wt-move:disabled { opacity: .3; cursor: default; }
.wt-step-main { flex: 1 1 auto; min-width: 0; }
.wt-step-title { font-weight: 700; color: var(--boh-text-heading); }
.wt-step-body { color: var(--boh-text-body); font-size: .92rem; margin: 2px 0 4px; }
.wt-step-tags { font-size: .8rem; color: var(--boh-text-muted); }
.wt-step-tags code { background: var(--boh-bg-light); padding: 1px 5px; border-radius: 4px; }
.wt-step-actions { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
@media (max-width: 640px) { .wt-step { flex-wrap: wrap; } .wt-step-actions { flex-direction: row; } }

.boh-draft-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--boh-bg-cream);
    border: 1px solid var(--boh-border-strong);
    border-left: 4px solid var(--boh-amber);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 0 16px;
    box-shadow: 0 1px 3px rgba(60,50,40,0.08);
}
.boh-draft-banner-text {
    color: var(--boh-text-body);
    font-size: .95rem;
    line-height: 1.4;
    flex: 1 1 220px;
}
.boh-draft-banner-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}
@media (max-width: 430px) {
    .boh-draft-banner-actions { width: 100%; }
    .boh-draft-banner-actions .btn { flex: 1 1 0; }
}

.rotate-hint-overlay {
    position: fixed;
    inset: 0;
    z-index: 1070;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 24, 22, 0.55);
}
.rotate-hint-overlay.rotate-hint-visible {
    display: flex;
}
.rotate-hint-card {
    background: var(--boh-bg-cream);
    border: 1px solid var(--boh-border-strong);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(26, 24, 22, 0.35);
    max-width: 320px;
    padding: 28px 24px;
    text-align: center;
}
.rotate-hint-icon {
    display: inline-block;
    font-size: 2.6rem;
    color: var(--boh-blue);
    animation: rotate-hint-tilt 2.4s ease-in-out infinite;
}
.rotate-hint-title {
    font-size: 1.15rem;
    color: var(--boh-text-heading);
    margin: 12px 0 8px;
}
.rotate-hint-text {
    font-size: 0.92rem;
    color: var(--boh-text-body);
    line-height: 1.5;
    margin-bottom: 16px;
}
.rotate-hint-dismiss {
    min-width: 60%;
}
@keyframes rotate-hint-tilt {
    0%, 20%       { transform: rotate(0deg); }
    45%, 75%      { transform: rotate(-90deg); }
    95%, 100%     { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
    .rotate-hint-icon { animation: none; transform: rotate(-90deg); }
}

.boh-share-btn {
    width: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid var(--boh-border);
    border-radius: 1.25rem;
    padding: 0.3rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--boh-teal);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.boh-share-btn:hover {
    border-color: var(--boh-teal);
    background: var(--boh-bg-cream);
}

.boh-share-btn--dark {
    color: var(--boh-gold);
    border-color: rgba(255, 255, 255, 0.3);
}

.boh-share-btn--dark:hover {
    border-color: var(--boh-gold);
    background: rgba(255, 255, 255, 0.08);
}

/* Admin Alerts (KAN-415). Reuses the Activity Log shell (.alog-*), so only the
   pieces unique to this page live here: the expandable record, the reviewed
   state, and the pager. */
.aa-entry { cursor: pointer; align-items: flex-start; }


.aa-record {
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px dashed var(--boh-border, #e2d9cc);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

.aa-record-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a8378;
    margin-bottom: 6px;
}

.aa-record-row {
    display: flex;
    gap: 10px;
    font-size: 0.78rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.aa-record-key {
    min-width: 92px;
    color: #8a8378;
    flex-shrink: 0;
}

.aa-record-val { color: var(--boh-text, #3c322a); }

.aa-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 1.25rem 4px;
}

@media (max-width: 576px) {
    .aa-record-row { flex-direction: column; gap: 0; }
    .aa-record-key { min-width: 0; }
    .aa-pager { padding: 12px 1rem 4px; }
}

/* ---------------------------------------------------------------
   Happy Birthday dashboard banner
   ------------------------------------------------------------- */
.birthday-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 20px 48px 20px 20px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(120deg, var(--boh-purple) 0%, var(--boh-amber) 50%, var(--boh-sage) 100%);
    background-size: 200% 200%;
    animation: birthdayBannerShift 8s ease infinite;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}
.birthday-banner-body { flex: 1; min-width: 0; }
.birthday-banner-heading {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.birthday-banner-text {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}
.birthday-banner-confetti {
    flex-shrink: 0;
    font-size: 1.5rem;
    letter-spacing: 2px;
    animation: birthdayBannerBounce 1.6s ease-in-out infinite;
}
.birthday-banner-confetti:last-of-type { animation-delay: 0.4s; }
.birthday-banner-close {
    position: absolute;
    top: 14px;
    right: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.birthday-banner-close:hover { opacity: 1; }

@keyframes birthdayBannerShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes birthdayBannerBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    .birthday-banner { animation: none; }
    .birthday-banner-confetti { animation: none; }
}
@media (max-width: 576px) {
    .birthday-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 18px 36px;
    }
    .birthday-banner-confetti { font-size: 1.3rem; }
    .birthday-banner-heading { font-size: 1.15rem; }
}

/* ---------------------------------------------------------------
   Birthdays This Month (community home, nested under Celebrations)
   ------------------------------------------------------------- */
.ch-birthdays-sub {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #E8E3DC;
}
.ch-subsection-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7A7368;
    margin-bottom: 10px;
}
.ch-subsection-title--birthdays {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--boh-purple) 0%, var(--boh-amber) 50%, var(--boh-sage) 100%);
    background-size: 200% 200%;
    animation: birthdayBannerShift 8s ease infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@media (prefers-reduced-motion: reduce) {
    .ch-subsection-title--birthdays { animation: none; }
}
.ch-birthdays-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ch-birthday-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEF9F2;
    border: 1px solid #E8E3DC;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
}
.ch-birthday-chip--today {
    background: linear-gradient(90deg, rgba(196, 164, 106, 0.18), rgba(122, 92, 138, 0.12));
    border-color: var(--boh-gold);
}
.ch-birthday-emoji { font-size: 16px; }
.ch-birthday-text  { color: #3C3A36; }
.ch-birthday-today-tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--boh-amber-dark);
}
