:root {
    /* MarketView design tokens */
    --mv-font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --mv-bg: #f4f6f9;
    --mv-surface: #ffffff;
    --mv-border: #e4e9f0;
    --mv-border-strong: #d3dae4;
    --mv-text: #1f2937;
    --mv-text-soft: #64748b;
    --mv-accent: #00a9d6;
    --mv-accent-deep: #0080cd;
    --mv-green: #1da951;
    --mv-violet: #8b5cf6;
    --mv-warn: #d97706;
    --mv-radius: 12px;
    --mv-radius-sm: 8px;
    --mv-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
    --mv-shadow-lg: 0 4px 6px -2px rgba(16, 24, 40, .04), 0 12px 16px -4px rgba(16, 24, 40, .08);
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    margin-bottom: 60px;
    font-family: var(--mv-font);
    color: var(--mv-text);
}

body.mv-home,
body.mv-page {
    background-color: var(--mv-bg);
}

/* ── Card system ── */
.mvCard {
    background-color: var(--mv-surface);
    border: 1px solid var(--mv-border);
    border-radius: var(--mv-radius);
    box-shadow: var(--mv-shadow);
    padding: 20px;
}

.mvCardTitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
    margin-bottom: 12px;
    text-align: left;
}

.mvCardTitle a {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

/* ── KPI stat cards ── */
.statCard {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.statCard .moduleHeader {
    margin-bottom: 4px;
}

.statValue {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
    min-height: 40px;
    font-variant-numeric: tabular-nums;
}

.statValue.green {
    color: var(--mv-green);
}

.statValue.violet {
    color: var(--mv-violet);
}

.statValue.blue {
    color: #2456c3;
}

.statCard .moduleContent {
    margin-top: 12px;
    border-top: 1px solid var(--mv-border);
    padding-top: 10px;
    text-align: left;
}

.statCard .moduleContent table {
    width: 100%;
    margin: 0;
}

.statCard .moduleContent td.tdColLeft {
    text-align: left;
    padding: 3px 0;
}

.statCard .moduleContent td.tdColRight {
    text-align: right;
    padding-left: 0;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.headerBar {
    background-color: var(--mv-surface) !important;
    border-color: var(--mv-border);
    color: var(--mv-text) !important;
}

nav.headerBar {
    border-bottom: 1px solid var(--mv-border) !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.navbar-brand.headerBar {
    color: var(--mv-accent-deep) !important;
    font-weight: 700;
}

.navbar .nav-link.headerBar,
.navbar .btn-link.headerBar {
    color: var(--mv-text) !important;
    font-weight: 500;
    text-decoration: none;
}

.navbar .nav-link.headerBar:hover,
.navbar .nav-link.headerBar:focus,
.navbar .btn-link.headerBar:hover {
    color: var(--mv-accent-deep) !important;
}

.navbar .dropdown-menu {
    border: 1px solid var(--mv-border);
    border-radius: 10px;
    box-shadow: var(--mv-shadow-lg);
    padding: 6px;
}

.navbar .dropdown-item {
    border-radius: 6px;
    font-size: 14px;
    padding: 5px 10px;
}

.navbar .dropdown-item:hover {
    background-color: var(--mv-bg);
    color: var(--mv-accent-deep);
}

.navbar .dropdown-divider {
    border-color: var(--mv-border);
}

.dropdownSection {
    background-color: #eaf7fc;
    border-top: 1px solid var(--mv-border);
    border-bottom: 1px solid var(--mv-border);
    border-radius: 0;
    color: var(--mv-text-soft);
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 4px 0;
}

.dropdownSection i {
    font-style: normal;
}

footer.footer {
    background-color: var(--mv-surface);
    border-top: 1px solid var(--mv-border) !important;
    color: var(--mv-text-soft);
    font-size: 13px;
    padding: 12px 0;
}
.nav-item2 {
    margin-left:15px;
}
.infoicon {
    margin-left: 3px;
    margin-bottom: 3px;
    height: 20px;
}
.homeRow {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}
.homeLeftCol {
    background-color: var(--mv-surface);
    border: 1px solid var(--mv-border);
    border-radius: var(--mv-radius);
    box-shadow: var(--mv-shadow);
    padding: 20px;
}
.homeRightCol {
    min-width: 0;
    text-align: center;
    position: relative; /* For z-index stacking context */
    z-index: auto; /* Default z-index */
}

.homeHeaderRow, .homeHeaderRow h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 20px 0 0;
    width: 100%;
}
.homeHeaderRow h4 {
    margin: auto;
}
.homeTitleCard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 14px 20px;
    text-align: left;
}

.homeTitleLeft {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.homeTitleMain {
    font-size: 20px;
    font-weight: 700;
    color: var(--mv-text);
    letter-spacing: -.01em;
}

.homeChip {
    background-color: #e6f6fb;
    color: var(--mv-accent-deep);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.homeTitleDate {
    color: var(--mv-text-soft);
    font-size: 14px;
    font-weight: 500;
}
.homeLogo {
    text-align: center;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mv-border);
}
.homeSection {
    padding: 14px 0;
    border-bottom: 1px solid var(--mv-border);
    text-align: left;
}
.homeSection.last {
    border-bottom: none;
    padding-bottom: 0;
}
.homeLeftColTitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
    margin-bottom: 8px;
}
.homeSearchRow {
    display: flex;
    align-items: stretch;
}
.homeSearchRow .k-textbox,
.homeSearchRow input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    font-size: 14px;
    border: 1px solid var(--mv-border-strong);
    border-right: none;
    border-radius: var(--mv-radius-sm) 0 0 var(--mv-radius-sm);
    padding-left: 10px;
}
.homeSearchRow .btn {
    border-radius: 0 var(--mv-radius-sm) var(--mv-radius-sm) 0;
    display: flex;
    align-items: center;
}
.homeDatePicker {
    margin-top: 0;
    width: 100%;
}
.homeDatePicker .k-picker,
.homeDatePicker .k-input,
.homeDatePicker .k-datepicker {
    border: 1px solid var(--mv-border-strong) !important;
    border-radius: var(--mv-radius-sm);
    height: 38px;
}
.homeRadio {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.homeRadioLabel {
    font-size: 16px;
    line-height: 26px;
}
.squareContainer {
    text-align: center;
    cursor: pointer;
}
.square {
    height: 70px;
    width: 80%;
    line-height: 70px;
    display: inline-block;
    text-align: center;
    vertical-align:middle;
    font-size: 24px;
    font-weight: 500;
    color: white;
}
.square.green {
    background-color: #15600c;
}
.square.blue {
    background-color: darkblue;
}
.square.violet {
    background-color: darkviolet;
}
.circle {
    height: 112px;
    width: 112px;
    line-height: 112px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: white;
    letter-spacing: -.01em;
}
.circle.green {
    background-color: var(--mv-green);
    box-shadow: 0 0 0 6px rgba(29, 169, 81, .12);
}

.circle.blue {
    background-color: #2456c3;
    box-shadow: 0 0 0 6px rgba(36, 86, 195, .12);
}

.circle.violet {
    background-color: var(--mv-violet);
    box-shadow: 0 0 0 6px rgba(139, 92, 246, .12);
}

.circle.small {
    height: 80px;
    width: 80px;
    line-height: 80px;
    font-size: 20px;
}
.noWrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.radioGroup {
    padding: 8px 18px;
    margin-top: 20px;
    display: inline-block;
    border-radius: 999px;
    background-color: var(--mv-bg);
    border: 1px solid var(--mv-border);
    text-align: left;
}
.radioButtonLeft {
    display: inline-block;
    margin-left: 4px;
}
.radioButton1 {
    display: inline-block;
    margin-left: 20px;
}
.button1 {
    margin-left:2px;
    background-color: #0080cd;
    margin-bottom:3px;
}
.textBox1 {
    margin-left: 30px;
    height: 40px;
    width: 200px;
    font-size: 14px;
}
.countElement {
    margin-top: 30px;
    font-weight: 600;
}
.topContentBox {
    background-color: #eae6e4;
    border-radius: 6px;
    border: 1px solid #aaa;
    margin: 30px 5px 0 5px;
    vertical-align: middle;
    text-align: left;
    padding: 10px;
    font-size: 24px;
}
.bookSearchBox {
    display: inline-block;
    text-align: center;
    margin-left: 5px;
    width: 400px;
    font-size:14px;
}
.contentBox {
    border-radius: 6px;
    border: solid 1px #ccc;
    background-color: #f7f8f9;
    box-shadow: 1px 1px #ccc;
    padding: 16px;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
}
.periodBtn {
    background-color: #0080cd;
    height: 24px;
    vertical-align: middle;
    border-radius: 5px;
    border-style: none;
    width: 45px;
    opacity: .9;
    margin-left: 4px;
}
.periodBtn:hover {
    background-color: #149bda;
}
.periodBtnText {
    color: white;
    font-size: 14px;
    border: none;
    font-weight: 300;
    vertical-align: middle;
}
.bookMetaBox {
    text-align: left;
    color: #333;
    font-size: 16px;
    line-height: 22px;
}
.faviconRow {
    margin-top: 5px;
    padding-left: 5px;
    text-align: left;
}
.reportSubtitle {
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
}
.chartTitle {
    font-size: 24px;
    font-weight: 600;
    margin: 42px 0 18px;
}
.tooltipBox {
    padding: 10px;
    padding-right: 20px;
    min-width: 400px;
    vertical-align: top;
}
.leftcol {
    text-align: right;
    padding-right: 10px;
}

.rightcol {
    text-align: left;
}
.trackSummary {
    padding-right:20px;
    width: auto;
}
div.k-tooltip.k-chart-tooltip {
    border: 1px solid black;
    margin-left: 28px;
    margin-top: 0;
}

.k-grid tr {
    height: 36px;
}

.k-grid td {
    font-size: 14px !important;
    height: 36px !important;
    line-height: 20px !important;
    padding: .4em .6em !important;
    overflow: hidden;
}

.k-grid2 {
    height: 26px;
    font-size:12px;
}

.k-grid-toolbar {
    text-align: left !important;
}

.k-item {
    border: 1px solid rgba(33, 37, 45, .025) !important;
}

.k-item.k-state-active {
    border: 1px solid rgba(33, 37, 45, .175) !important;
}

.k-grid .k-alt {
    background-color: #f5faff !important;
}

.k-grouping-header {
    text-align: left;
}

.k-grid .k-header {
    background-color: #fbfdff !important;
    white-space: normal;
}

.k-grid .k-column-title {
    white-space: normal !important;
}

.k-widget .k-listview {
    border: none !important;
}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.MCGridButtons {
    float: right;
    height: 26px !important;
    visibility: hidden;
    vertical-align: middle;
}
tr:hover .MCGridButtons {
    visibility: visible;
    height: 32px;
}

/* Shared column styles */
.pricecol, .poscol, .poscol2,
.whcol, .whcol2, .whcol3, .whcol4, .whcol5,
.lightgreencol, .gridCenter, .gridLeft {
    font-size: 12px;
}

.pricecol, .poscol, .poscol2,
.whcol, .whcol2, .whcol3, .whcol4, .whcol5,
.lightgreencol {
    text-align: center !important;
}

.pricecol      { background-color: #e0f8e8; }
.poscol        { background-color: #ecfbff; }
.poscol2       { background-color: #f6fdff; }
.whcol         { background-color: #fbffec; }
.whcol2        { background-color: #65d49c; }
.whcol3        { background-color: #bce6cd; }
.whcol4        { background-color: #f7e3b7; }
.whcol5        { background-color: #fffeed; }
.lightgreencol { background-color: #f1f8e9; }

.gridCenter { text-align: center; }
.gridLeft   { text-align: left; }

/* poscol3 uses a qualified selector to override Kendo's default background */
.k-grid td.poscol3 {
    background-color: #ebffe6;
    font-size: 12px;
    text-align: center !important;
}

.k-grid td.poscol3 .red-text {
    color: red;
}
.homeleftsep {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #006A31;
}

.moduleHeader {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
}

.moduleHeader a {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.moduleContent {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    color: var(--mv-text);
}

.moduleContent .tdColLeft {
    color: var(--mv-text-soft);
    padding: 2px 0;
}

.moduleContent .tdColRight {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.btn-xs .btn-group-xs > .btn {
    top: 0;
    padding: 1px 5px;
}

.popupLabel {
    width: 80px;
    text-align: right;
    padding-right: 10px;
    padding-bottom: 10px;
    display: inline-block;
}

.textbox1 {
    margin-left: 5px;
    padding-left: 5px;
    height: 36px;
    font-size: 14px;
    border: 1px solid #999;
    border-radius: 5px;
}

.textbox1.tall {
    height: 40px;
}

.textbox1.short {
    height: 32px;
}
.custom-tooltip {
    position: relative;
    left: -150px; /* Adjust this value as needed */
    max-width: 300px; /* Adjust this value as needed */
}
.tlButton {
    cursor: pointer;
    background-color: #90d8f0;
    border: 1px black solid;
    border-radius: 3px;
    text-align: center;
    margin-left: auto;
    margin-right: 0;
    width: 140px;
}
.tileTitle {
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 5px;
    padding-left: 10px;
    padding-top: 10px;
}
.tileFooter {
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 10px;
    padding-top: 4px;
    border-top: 1px solid gray;
}
.tip1 tr,
.tip1 td {
    height: 16px !important;
    line-height: 16px !important;
}

.tip1 td {
    padding: 0;
    margin: 0;
}

table tr td.tdColLeft {
    text-align: right;
}

table tr td.tdColRight {
    text-align: left;
    padding-left: 5px;
}
.radioRow {
    float: left;
    margin-top: 3px;
    margin-right: 5px;
    height: 20px;
    padding: 5px;
    width: 12px;
}

.chartContainer {
    overflow-x: auto;
}

.chartContainer .chart {
    min-width: 320px;
    max-width: 100%;
}

.k-list-item-text {
    font-size: 14px;
}

#searchBox::placeholder {
    font-size: 14px;
}

.menu-item {
    font-size: 15px;
}

.menu-identity-item {
    font-size: 14px;
}

.title-item {
    font-family: var(--mv-font);
    font-size: 20px;
    font-weight: 700;
}

#chartHomeReport .k-label {
    font-size: 20px;
}

#chartHomeReport,
.k-chart {
    position: relative;
    z-index: 1;
}

.radioLabel {
    font-size: 14px;
    line-height: 26px;
}

.fileDates {
    font-size: 16px;
    padding-left: 10px;
    margin-top: 10px;
    font-family: Calibri;
}
.bookData {
    text-align: left;
    color: #333;
    font-size: 16px;
    line-height: 22px;
}

.homeTooltip {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
    font-size: 14px;
    line-height: 18px;
}

.reportTitle {
    font-size: 24px;
    font-weight: 600;
    margin: 8px 0;
    text-align: center;
}
.dropdown-menu {
    z-index: 2000 !important;
}

.navbar .dropdown-menu {
    z-index: 9999 !important;
}

.centered-button {
    text-align:center;
}
.k-grid th.center-header {
    text-align: center !important;
}
.k-grid th.center-header .k-link,
.k-grid th.center-header .k-column-title {
    text-align: center !important;
    justify-content: center !important;
}
@media (max-width: 1560px) {
    .menu-item {
        font-size: 14px;
    }

    .menu-identity-item {
        font-size: 14px;
    }

    .title-item {
        font-size: 16px;
    }

    #chartHomeReport .k-label {
        font-size: 12px;
    }

    #searchBox::placeholder {
        font-size: 12px;
    }

    .moduleHeader {
        font-size: 16px;
    }

    .moduleContent {
        font-size: 12px;
    }

    .fileDates {
        font-size: 14px;
    }

    .tileFooter {
        font-size: 12px;
    }
}

/* Home page notification */
.notification-container {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.notification {
    width: 60%;
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 10px 50px 10px 20px;
    text-align: center;
    margin: 10px auto;
    position: relative;
}

.close-button {
    background: none;
    border: none;
    font-size: 18px;
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    width: auto;
    height: auto;
    padding: 2px 6px;
    color: #666;
    border-radius: 3px;
    line-height: 1;
}

.close-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

.countdown-timer {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

@media (max-width: 1340px) {
    .menu-item {
        font-size: 12px;
    }

    .menu-identity-item {
        font-size: 10px;
    }

    .title-item {
        font-size: 14px;
    }

    #chartHomeReport .k-label {
        font-size: 11px;
    }

    #searchBox::placeholder {
        font-size: 11px;
    }

    .radioLabel {
        font-size: 12px;
    }

    .moduleHeader {
        font-size: 14px;
    }

    .moduleContent {
        font-size: 12px;
    }

    .fileDates {
        font-size: 12px;
    }

    .bookData {
        font-size: 14px;
        line-height: 20px;
    }

    .homeTooltip {
        font-size: 12px;
    }
    .tileFooter {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .menu-item {
        font-size: 10px;
    }

    .menu-identity-item {
        font-size: 9px;
    }

    .title-item {
        font-size: 12px;
    }

    #chartHomeReport .k-label {
        font-size: 10px;
    }

    #searchBox::placeholder {
        font-size: 11px;
    }

    .radioLabel {
        font-size: 11px;
    }

    .moduleHeader {
        font-size: 12px;
    }

    .moduleContent {
        font-size: 11px;
    }

    .fileDates {
        font-size: 11px;
    }

    .bookData {
        font-size: 12px;
        line-height: 18px;
    }

    .homeTooltip {
        font-size: 12px;
    }
    .tileFooter {
        font-size: 11px;
    }
}
.feedback-modal-width {
    max-width: 580px;
}

/* ── Home page component styles ── */
.homeLogo img {
    border: none;
    width: 100%;
    max-width: 240px;
}
.homeFindTitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
}
#btnSearch {
    background-color: var(--mv-accent-deep);
    border: none;
    margin-left: 0;
    padding: 0 12px;
    height: 38px;
}
#btnSearch:hover {
    background-color: var(--mv-accent);
}
.homeRadioItem {
    margin-right: 10px;
    line-height: 26px;
}
.homeRadioItem label,
.homePublisherRow label {
    cursor: pointer;
}
.homePublisherRow {
    display: flex;
    align-items: center;
    line-height: 26px;
}
.homePublisherRow .radioRow {
    float: none;
    flex: 0 0 auto;
    margin: 0 8px 0 0;
    height: 14px;
    width: 14px;
    padding: 0;
    border-radius: 4px;
}
.homeAdminDropdown {
    margin-top: 0;
    font-size: 14px;
}
.homeAdminClear {
    margin-top: 12px;
    font-size: 13px;
    color: var(--mv-text-soft);
}
.homeAdminClear input[type="button"] {
    border: 1px solid var(--mv-border-strong);
    background-color: var(--mv-surface);
    border-radius: var(--mv-radius-sm);
    padding: 3px 14px;
    margin-right: 6px;
    color: var(--mv-text);
}
.homeAdminClear input[type="button"]:hover {
    background-color: var(--mv-bg);
}
.homeDateHeader {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
}
.homeDateHeader u {
    text-decoration: none;
}
.homeDates {
    padding-left: 0;
    font-size: 13px;
}
.homeDateRow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 3px 0;
    color: var(--mv-text-soft);
}
.homeDateVal {
    font-weight: 600;
    color: var(--mv-text);
    font-variant-numeric: tabular-nums;
}
.homeDateVal.stale {
    color: var(--mv-warn);
}
.homeDateVal.stale::after {
    content: "\25CF";
    font-size: 9px;
    margin-left: 5px;
    vertical-align: 2px;
}
.moduleContent table {
    margin: auto;
}
.homeModules {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) minmax(300px, 2.1fr) minmax(200px, 1.1fr);
    gap: 20px;
    margin-top: 16px;
    text-align: center;
}

.homeModules .moduleHeader {
    text-align: left;
}
.homeMoversSpinner {
    font-size: 2rem;
}
.moversCard {
    display: flex;
    flex-direction: column;
}
#amazonMoversContainer {
    min-height: 110px;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.moverThumb {
    max-width: 150px;
    max-height: 128px;
    border-radius: 6px;
    box-shadow: var(--mv-shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.moverThumb:hover {
    transform: translateY(-2px);
    box-shadow: var(--mv-shadow-lg);
}
.homeLbbRow {
    margin-top: 16px;
}
.homeLbbNote {
    font-weight: 400;
    font-size: 13px;
    color: var(--mv-text-soft);
}
.homeReportLinks {
    font-weight: 500;
    text-align: left;
}
.homeReportLinksSection {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
    margin-bottom: 6px;
}
.homeReportLink {
    text-align: left;
    padding-left: 0;
    line-height: 26px;
    font-size: 14px;
}
.homeReportLink a {
    color: var(--mv-text);
    text-decoration: none;
}
.homeReportLink a:hover {
    color: var(--mv-accent-deep);
}
.homeChartTitle {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.homeChartCard {
    margin-top: 20px;
    padding: 24px 20px;
}
.homeChartContainer {
    width: 100%;
    overflow-x: auto;
}

/* ── Home page responsive layout ── */
@media (max-width: 1500px) {
    .homeModules {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .homeRow {
        grid-template-columns: 1fr;
    }

    .homeLeftCol {
        position: static;
    }

    .notification {
        width: 90%;
    }

    .circle {
        height: 90px;
        width: 90px;
        line-height: 90px;
        font-size: 22px;
    }
}

@media (max-width: 700px) {
    .homeModules {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .circle {
        height: 75px;
        width: 75px;
        line-height: 75px;
        font-size: 18px;
    }
}

/* ── Book (title) page ── */
.bookPage {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.bookTopBar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
}

.bookTopLogo {
    height: 40px;
    border: none;
    flex: 0 0 auto;
}

.bookTopSearch {
    flex: 1 1 auto;
    max-width: 640px;
    margin: 0 auto;
}

.bookTopBar .infoicon {
    flex: 0 0 auto;
}

.bookTopGrid {
    display: grid;
    grid-template-columns: minmax(340px, 2fr) minmax(0, 3fr);
    gap: 20px;
    align-items: stretch;
}

.bookIdentityCard {
    display: flex;
    gap: 20px;
    text-align: left;
}

.bookCoverCol {
    flex: 0 0 160px;
}

.bookCoverImg {
    width: 100%;
    max-width: 160px;
    border-radius: 8px;
    box-shadow: var(--mv-shadow);
}

.bookCoverCol .faviconRow {
    padding-left: 0;
    margin-top: 10px;
}

.bookFavorite {
    margin-top: 10px;
    text-align: left;
}

.bookIdentityCard .bookMetaBox {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 24px;
}

.bookTitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--mv-text);
}

.bookMetaSoft {
    font-size: 13px;
    color: var(--mv-text-soft);
    line-height: 20px;
}

.bookPanelsCard {
    text-align: left;
}

.bookPanelGrid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) minmax(0, 8fr);
    gap: 24px;
    height: 100%;
}

.bookPanel {
    min-width: 0;
}

.bookPanelHeader {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
    margin-bottom: 8px;
}

.bookPanel table {
    margin: 0;
}

.bookPanel td {
    padding: 2px 0;
    font-size: 14px;
    line-height: 20px;
}

.bookPanel td.leftcol {
    text-align: left;
    color: var(--mv-text-soft);
    padding-right: 14px;
    white-space: nowrap;
}

.bookPanel td:not(.leftcol) {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bookTabsCard,
.mvTabsCard {
    padding: 12px 20px 20px;
    text-align: left;
}

.bookTabsCard .k-tabstrip,
.mvTabsCard .k-tabstrip {
    background: transparent;
    border: none;
}

.bookTabsCard .k-tabstrip > .k-content,
.mvTabsCard .k-tabstrip > .k-content,
.bookTabsCard .k-tabstrip-content,
.mvTabsCard .k-tabstrip-content,
.bookTabsCard .k-tabstrip-content.k-active,
.mvTabsCard .k-tabstrip-content.k-active {
    border: none;
    background: transparent;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
    align-self: stretch !important;
    width: 100% !important;
    flex: 0 0 auto !important;
}

/* ── Generic report page shell ── */
.reportPage {
    margin-top: 16px;
    text-align: left;
}

.reportPage > .mvCard + .mvCard {
    margin-top: 20px;
}

/* Wide grids (many columns) widen their card to match, instead of the grid bleeding past the card edge.
   The whole page scrolls horizontally (browser scrollbar) rather than a scrollbar buried below a tall grid. */
.mvCard:has(.k-grid) {
    width: fit-content;
    min-width: 100%;
    max-width: none;
}

/* Grid header row stays pinned to the viewport top as the page scrolls past tall grids. */
.mvCard .k-grid-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--mv-surface);
}

/* ── Inline client selector in the title card ── */
.homeTitleRight {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.homeTitleClient {
    display: flex;
    align-items: center;
    gap: 10px;
}

.homeTitleClientLabel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
}

.titleClientClear {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    color: var(--mv-text);
    background: var(--mv-surface);
    border: 1px solid var(--mv-border-strong);
    border-radius: var(--mv-radius-sm);
    cursor: pointer;
}

.titleClientClear:hover {
    background: var(--mv-bg);
}

/* ── Amazon Search report: left rail (search terms) + main (charts + results) ── */
.searchLayout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 16px;
}

.searchMain > .mvCard + .mvCard {
    margin-top: 20px;
}

.searchCharts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.searchCharts > div {
    min-width: 0;
}

/* Cards holding a grid here must fill their column and scroll internally,
   overriding the global wide-grid rule that widens the card to fit the grid. */
.searchLayout .mvCard:has(.k-grid) {
    width: auto;
    min-width: 0;
    max-width: none;
    overflow-x: auto;
}

@media (max-width: 992px) {
    .searchLayout {
        grid-template-columns: 1fr;
    }

    .searchCharts {
        grid-template-columns: 1fr;
    }
}

/* ── Reusable report layout treatments (A: freshness strip, B: left rail) ── */
.rptLayoutChip {
    cursor: pointer;
}

.rptLayoutChip:not(.active) {
    background-color: transparent;
    color: var(--mv-text-soft);
    box-shadow: inset 0 0 0 1px var(--mv-border);
}

.rptLayout {
    margin-top: 20px;
}

.rptSide > .mvCard + .mvCard {
    margin-top: 20px;
}

.rptGroupLabel {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
    text-align: left;
}

.rptCheck {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.rptDate .homeDateVal {
    font-variant-numeric: tabular-nums;
}

/* Treatment A: slim horizontal freshness strip + single toolbar row */
.layout-a .rptDatesCard {
    padding: 0;
    overflow: hidden;
}

.layout-a .rptDatesTitle {
    display: none;
}

.layout-a .rptDates {
    display: flex;
}

.layout-a .rptDate {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    text-align: left;
}

.layout-a .rptDate + .rptDate {
    border-left: 1px solid var(--mv-border);
}

.layout-a .rptDateLabel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
}

.layout-a .rptDate .homeDateVal {
    font-size: 13px;
}

.layout-a .rptFiltersCard {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 38px;
    padding: 12px 16px;
}

.layout-a .rptGroup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.layout-a .rptChecks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.layout-a .rptGroupDivider {
    width: 1px;
    align-self: stretch;
    background: var(--mv-border);
}

.layout-a .rptMain {
    margin-top: 20px;
}

/* Treatment B: sticky left rail with dates, show/hide, and filters.
   The rail column grows to fit its widest label (min 260px) so nothing clips. */
.layout-b .rptLayout {
    display: grid;
    grid-template-columns: minmax(260px, max-content) 1fr;
    gap: 20px;
    align-items: start;
}

.layout-b .rptSide {
    position: sticky;
    top: 16px;
}

.layout-b .rptDatesTitle {
    margin-bottom: 8px;
}

.layout-b .rptDate {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 3px 0;
    font-size: 13px;
    color: var(--mv-text-soft);
}

.layout-b .rptGroupDivider {
    height: 1px;
    background: var(--mv-border);
    margin: 14px 0;
}

.layout-b .rptChecks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .layout-b .rptLayout {
        grid-template-columns: 1fr;
    }

    .layout-b .rptSide {
        position: static;
    }
}

.favTileGrid .k-listview-content,
.wtTileGrid .k-listview-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
    height: auto;
    max-height: none;
    overflow: visible;
}

/* The Favorites/WeeklyTitles tabs cards hold both the tile grid and the
   Grid tab's k-grid; keep the card viewport-width (tiles reflow) and let the
   Grid tab scroll inside instead of widening the whole card. */
.mvTabsCard:has(.wtTileGrid),
.mvTabsCard:has(.favTileGrid) {
    width: auto;
    min-width: 0;
    max-width: none;
    overflow-x: auto;
}

.favTileGrid .k-listview,
.wtTileGrid .k-listview {
    border: none;
    height: auto;
}

.reportFilterBar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.reportFilterCheck {
    margin-left: 8px;
}

/* Consolidated single-row filter toolbar (e.g. AmazonPerformance): groups
   separated by hairline dividers, matching the .layout-a rptGroup pattern
   but usable outside rptLayoutPage / .layout-a pages. */
.mvFilterGroups {
    gap: 16px 36px;
}

.mvFilterGroups .rptGroup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mvFilterGroups .rptGroupLabel {
    white-space: nowrap;
}

.mvFilterGroups .rptChecks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mvFilterGroups .rptGroupDivider {
    width: 1px;
    align-self: stretch;
    background: var(--mv-border);
}

.mvFilterGroups .radioGroup {
    margin-top: 0;
}

/* Push the Format/Period groups to the right edge of the filter bar. */
.mvFilterGroups .mvFilterRight {
    margin-left: auto;
}

/* AmazonStatus: Filters and Changes Since Last Saturday share one row. */
.statusFilterRow {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px 44px;
    margin-bottom: 16px;
}

.statusFilterDivider {
    width: 1px;
    align-self: stretch;
    background: var(--mv-border);
}

/* Collapsible summary card (AmazonStatus availability tabs). */
.summaryToggleRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.summaryToggleRow .summaryToggleTitle {
    margin-bottom: 0;
}

#summaryCard.summaryCollapsed {
    padding-bottom: 12px;
}

.favTileGrid .k-listview,
.favTileGrid .k-listview-content,
.wtTileGrid .k-listview,
.wtTileGrid .k-listview-content {
    font-family: var(--mv-font);
}

/* Kendo may wrap or replace the template root, so the visible tile box is the
   grid's direct child - style that element, whatever Kendo renders it as. */
.favTileGrid .k-listview-content > *,
.wtTileGrid .k-listview-content > * {
    background-color: var(--mv-surface);
    border: 1px solid #b8c4d3;
    border-radius: var(--mv-radius);
    box-shadow: var(--mv-shadow);
    padding: 11px 13px;
    min-width: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s ease;
}

.favTileGrid .k-listview-content > *:hover,
.wtTileGrid .k-listview-content > *:hover {
    box-shadow: var(--mv-shadow-lg);
}

/* If the template root survives inside a Kendo wrapper, shed its own card
   chrome so the tile never double-borders; keep the flex column for layout. */
.favTileGrid .k-listview-content > * > .favTile,
.wtTileGrid .k-listview-content > * > .wtTile {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    height: 100%;
}

.favTile,
.wtTile {
    float: none;
    height: auto;
    width: auto;
    min-width: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wtPagerBtn {
    width: 34px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

.wtTitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mv-text);
    margin-bottom: 10px;
    min-height: 2.7em;
    text-decoration: none;
}

.wtTitle:hover {
    color: var(--mv-accent-deep);
}

.wtBody {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.wtCover {
    flex: 0 0 96px;
}

.wtCover img {
    width: 96px;
    max-height: 144px;
    object-fit: contain;
    border-radius: 4px;
}

.wtStoreLinks {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    justify-content: flex-start;
}

.wtStoreLinks img {
    width: auto;
    max-height: none;
}

.wtMeta {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.75;
}

.wtAuthor {
    font-size: 15px;
    font-weight: 600;
}

.wtMetaSoft {
    color: var(--mv-text-soft);
}

.wtIsbn {
    color: var(--mv-text-soft);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.wtStatusRow {
    margin-top: 6px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wtPill {
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.wtPillOk {
    background: #e7f6ed;
    color: var(--mv-green);
}

.wtPillWarn {
    background: #fdf1e0;
    color: var(--mv-warn);
}

.wtStats {
    border-top: 1px solid var(--mv-border);
    margin-top: auto;
    padding-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 12px;
}

.wtStatLabel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mv-text-soft);
}

.wtStatVal {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wtDiscount {
    font-weight: 400;
    color: var(--mv-text-soft);
    font-size: 12px;
}

.bookPeriodBar {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 8px 18px;
    border: 1px solid var(--mv-border);
    border-radius: 999px;
    background-color: var(--mv-bg);
    margin: 8px 0;
}

.mvChartTitle {
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 12px;
    text-align: center;
    color: var(--mv-text);
}

.mvSectionHeader {
    font-size: 17px;
    font-weight: 700;
    color: var(--mv-text);
    margin: 4px 0 14px;
    text-align: left;
}

/* ── Book detail tabs (Metadata/Descriptive/Onix/EditionSeries/Hourly/Publicity) ── */
.bookTabsCard .bookDetailTable td {
    padding: 3px 0;
    font-size: 14px;
    line-height: 20px;
    vertical-align: top;
}

.bookTabsCard .bookDetailTable td.leftcol {
    text-align: left;
    color: var(--mv-text-soft);
    padding-right: 12px;
    white-space: nowrap;
}

.bookTabsCard .bookDetailTable td.rightcol {
    text-align: left;
    font-weight: 600;
    white-space: normal;
}

.bookOnixXml {
    text-align: left;
    word-wrap: break-word;
    white-space: pre;
    background-color: var(--mv-bg);
    border: 1px solid var(--mv-border);
    border-radius: var(--mv-radius-sm);
    padding: 14px;
    font-size: 13px;
    max-height: 600px;
    overflow: auto;
}

@media (max-width: 1200px) {
    .bookTopGrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .bookPanelGrid {
        grid-template-columns: 1fr;
    }

    .bookIdentityCard {
        flex-direction: column;
    }
}
   
/* ══════════════════════════════════════════════════════════
   BuriedBooks — Ebook Deals page
   ══════════════════════════════════════════════════════════ */
.bbTitleCard { margin-bottom: 16px; }
.bbTitleLeft { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bbPageTitle { font-size: 20px; font-weight: 700; color: var(--mv-text); }
.bbTitleRight { display: flex; align-items: center; }

.bbFreshness {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 600; color: var(--mv-text-soft);
}
.bbDot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.bbLive { color: var(--mv-green); }
.bbStale { color: var(--mv-warn); }

/* Controls row */
.bbControls { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 16px; }
.bbControlGroup { display: flex; flex-direction: column; }
.bbPillRow { display: flex; gap: 8px; }
.bbPill {
    display: inline-block; padding: 7px 18px; border-radius: 999px;
    border: 1px solid var(--mv-border-strong); background: var(--mv-surface);
    color: var(--mv-text); font-weight: 600; font-size: 14px; text-decoration: none;
    transition: all .12s ease;
}
.bbPill:hover { border-color: var(--mv-accent); color: var(--mv-accent-deep); text-decoration: none; }
.bbPillActive { background: var(--mv-accent); border-color: var(--mv-accent); color: #fff; }
.bbPillActive:hover { color: #fff; }

.bbSelect {
    height: 40px; min-width: 220px; padding: 0 12px;
    border: 1px solid var(--mv-border-strong); border-radius: var(--mv-radius-sm);
    background: var(--mv-surface); color: var(--mv-text); font-size: 15px; font-weight: 500;
}
.bbSelect:focus { outline: none; border-color: var(--mv-accent); }

/* Deals list */
.bbDealHead, .bbDealRow {
    display: grid;
    grid-template-columns: 130px minmax(0, 1.4fr) minmax(0, 1fr) 130px;
    gap: 16px; align-items: center;
}
.bbDealHead {
    padding: 0 8px 12px; border-bottom: 1px solid var(--mv-border);
    font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mv-text-soft);
}
.bbDealRow { padding: 16px 8px; border-bottom: 1px solid var(--mv-border); }
.bbDealRow:last-child { border-bottom: none; }
.bbDealRow:hover { background: var(--mv-bg); }

.bbColCover { text-align: center; }
.bbColCover img { max-height: 150px; max-width: 110px; border-radius: 4px; box-shadow: var(--mv-shadow); }

.bbBookTitle { font-weight: 700; font-size: 15px; line-height: 1.35; }
.bbBookAuthor { font-style: italic; color: var(--mv-text-soft); margin-top: 3px; }
.bbBookPub { font-size: 12.5px; color: var(--mv-text-soft); margin-top: 4px; }
.bbColMeta { font-size: 13.5px; line-height: 1.55; }
.bbMuted { color: var(--mv-text-soft); }

.bbColPrice { text-align: center; }
.bbBuyBtn {
    display: inline-block; padding: 9px 16px; border-radius: var(--mv-radius-sm);
    background: var(--mv-green); color: #fff; font-weight: 700; font-size: 14px;
    text-decoration: none; white-space: nowrap;
}
.bbBuyBtn:hover { background: #178f45; color: #fff; text-decoration: none; }

.bbEmpty { padding: 24px 8px; font-size: 15px; color: var(--mv-text-soft); }

@media (max-width: 860px) {
    .bbDealHead { display: none; }
    .bbDealRow { grid-template-columns: 90px 1fr; grid-template-areas: "cover title" "cover meta" "cover price"; row-gap: 6px; }
    .bbColCover { grid-area: cover; }
    .bbColTitle { grid-area: title; }
    .bbColMeta { grid-area: meta; }
    .bbColPrice { grid-area: price; text-align: left; }
}

/* ══════════════════════════════════════════════════════════
   BuriedBooks — Home page (reader-facing refresh)
   ══════════════════════════════════════════════════════════ */
/* Wordmark logo (recreated from the original PNG; colors sampled from it) */
.bbLogo {
    display: inline-flex; align-items: center; gap: .3em;
    font-family: "Lora", Georgia, serif; font-weight: 700;
    color: #151515; line-height: 1; letter-spacing: -.015em;
    white-space: nowrap;
}
.bbLogoGreen { color: #32C128; }
.bbLogoBlue { color: #32A5D2; }
.bbLogoShovel { height: 1.1em; width: auto; fill: #151515; margin-left: .08em; transform: translateY(.04em); }
.bbBrand { padding-top: 2px; padding-bottom: 2px; }
.bbBrand .bbLogo { font-size: 32px; }

/* Full-width hero */
.bbHeroWide {
    position: relative; width: 100%; min-height: 340px; max-height: 460px;
    height: 42vw; border-radius: var(--mv-radius); overflow: hidden;
    box-shadow: var(--mv-shadow-lg); margin-bottom: 36px;
    display: flex; align-items: center;
}
.bbHeroBg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 35%;
}
.bbHeroScrim {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(24, 20, 14, .78) 0%, rgba(24, 20, 14, .55) 38%, rgba(24, 20, 14, .08) 72%, rgba(24, 20, 14, 0) 100%);
}
.bbHeroContent { position: relative; padding: 40px 56px; max-width: 640px; }
.bbHeroHeadline {
    font-family: "Lora", Georgia, serif; font-weight: 700;
    font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08;
    color: #fff; margin: 0 0 14px; letter-spacing: -.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.bbHeroSub {
    font-size: clamp(15px, 1.4vw, 19px); color: rgba(255, 255, 255, .92);
    margin: 0 0 26px; line-height: 1.5; text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.bbHeroButtons { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA buttons */
.bbCta {
    display: inline-block; padding: 12px 26px; border-radius: 999px;
    font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent;
    transition: filter .12s ease, background-color .12s ease;
}
.bbCta:hover { text-decoration: none; filter: brightness(1.06); }
.bbCtaGreen { background: var(--mv-green); color: #fff; }
.bbCtaGreen:hover { color: #fff; }
.bbCtaGhost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .75); color: #fff; backdrop-filter: blur(2px); }
.bbCtaGhost:hover { color: #fff; background: rgba(255, 255, 255, .22); }
.bbCtaCyan { background: var(--mv-accent); color: #fff; border: 0; cursor: pointer; }
.bbCtaCyan:hover { color: #fff; }

/* Editorial intro */
.bbIntro {
    font-family: "Lora", Georgia, serif; font-size: clamp(17px, 1.6vw, 22px);
    font-style: italic; color: var(--mv-text); line-height: 1.65;
    max-width: 780px; margin: 0 auto 40px; text-align: center;
}

/* What's different */
.bbWhatGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 44px; }
.bbWhatCard { text-align: center; padding: 28px 24px; }
.bbWhatIcon { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.bbWhatTitle {
    font-family: "Lora", Georgia, serif; font-size: 20px; font-weight: 600;
    color: var(--mv-text); margin: 0 0 10px;
}
.bbWhatCard p { font-size: 14.5px; color: var(--mv-text-soft); line-height: 1.65; margin: 0; }

/* Signup band */
.bbSignupBand {
    background: var(--mv-text); border-radius: var(--mv-radius);
    box-shadow: var(--mv-shadow-lg); padding: 34px 40px; margin-bottom: 8px;
}
.bbSignupInner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.bbSignupHeadline { font-family: "Lora", Georgia, serif; font-size: 24px; font-weight: 600; color: #fff; margin: 0 0 4px; }
.bbSignupSub { font-size: 14.5px; color: rgba(255, 255, 255, .75); margin: 0; }
.bbSignupForm { display: flex; gap: 10px; flex: 1; min-width: 300px; max-width: 520px; }
.bbSignupInput {
    flex: 1; height: 46px; padding: 0 16px; font-size: 15px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .1);
    color: #fff;
}
.bbSignupInput::placeholder { color: rgba(255, 255, 255, .55); }
.bbSignupInput:focus { outline: none; border-color: var(--mv-accent); background: rgba(255, 255, 255, .16); }
.bbSignupMsg { font-size: 15.5px; font-weight: 600; color: #7ee2a8; }

@media (max-width: 900px) {
    .bbHeroWide { height: auto; min-height: 300px; }
    .bbHeroContent { padding: 32px 28px; }
    .bbWhatGrid { grid-template-columns: 1fr; }
    .bbSignupInner { flex-direction: column; align-items: stretch; text-align: center; }
    .bbSignupForm { max-width: none; }
}
