.jmb-app-hero {
    padding: 24px 0 clamp(35px, 5vw, 74px);
    background: radial-gradient(ellipse at 88% 15%, var(--app-tint, #eee8ff), transparent 60%), linear-gradient(110deg, #fff1e6, #fffaf7 72%);
    border-bottom: 1px solid var(--line, #e1e7ed);
}
.jmb-app-hero h1 { margin: 22px 0 12px; font-size: clamp(32px, 4.4vw, 65px); line-height: 1.14; }
.jmb-app-hero h1 em { color: #a93816; font-style: normal; }
.jmb-app-hero p { max-width: 55ch; margin: 0 0 23px; font-size: clamp(15px, 1.35vw, 19px); }
.jmb-app-search { display: flex; max-width: 680px; gap: 9px; }
.jmb-app-search label { flex: 1; min-width: 0; margin: 0; }
.jmb-app-search input { min-width: 0; }
.jmb-app-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; font-size: 14px; }
.jmb-app-quick a, .jmb-app-coverage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--app-tint, #f3f6fb);
    color: var(--app-color, #334764);
    font-size: 13px;
    font-weight: 600;
}
.jmb-app-quick a { background: #fff9; border: 1px solid #e5e3e9; }
.jmb-app-quick img { width: 19px; height: 19px; }
.jmb-app-filters { margin: 19px 0; }
#app-directory { scroll-margin-top: 135px; }
.jmb-app-grid, .jmb-app-use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jmb-app-card, .jmb-app-use-grid article {
    border: 1px solid #dfe6f0;
    border-radius: 14px;
    background: linear-gradient(155deg, var(--app-tint), white 58%);
}
.jmb-app-card { border-top: 3px solid var(--app-color); }
.jmb-app-card a { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 17px; color: inherit; }
.jmb-app-card-head, .jmb-app-intro h1 { display: flex; align-items: center; gap: 12px; }
.jmb-app-card h3 { margin: 0 0 4px; font-size: 17px; }
.jmb-app-card p, .jmb-app-use-grid p { margin: 0; font-size: 14px; line-height: 1.6; }
.jmb-app-card-link { margin-top: auto; padding-top: 11px; border-top: 1px solid #e5ebf1; color: var(--app-color); font-size: 13px; font-weight: 650; }
.jmb-app-card-link svg { width: 16px; height: 16px; vertical-align: middle; }
.jmb-app-symbol { flex: none; display: inline-grid; place-items: center; width: 43px; aspect-ratio: 1; border-radius: 12px; color: var(--app-color); background: var(--app-tint); }
.jmb-app-detail {
    --scene-ink: var(--app-color);
    --scene-tint: var(--app-tint);
    --scene-line: var(--app-color);
}
.jmb-app-detail > .jmb-section { padding-block: clamp(16px, 2.4vw, 32px); }
.jmb-app-detail > .jmb-app-hero + .jmb-section { padding-top: clamp(25px, 4vw, 45px); }
.jmb-app-detail > .jmb-section:last-child { padding-bottom: clamp(29px, 4vw, 50px); }
.jmb-app-detail .jmb-heading { margin-bottom: clamp(12px, 2vw, 22px); }
.jmb-app-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr); align-items: center; gap: 24px; }
.jmb-app-intro h1 .jmb-app-symbol { width: clamp(48px, 5vw, 70px); }
.jmb-app-intro h1 img { width: 62%; height: auto; }
.jmb-app-hero-art { position: relative; display: grid; place-items: center; min-height: 205px; isolation: isolate; }
.jmb-app-hero-art::before { content: ""; position: absolute; z-index: -1; width: 85%; height: 92%; border-radius: 50%; border: 1px solid #95a3b34d; transform: rotate(-17deg); }
.jmb-app-art-card { width: min(64%, 220px); padding: 23px; background: #fff; border: 1px solid #fff; border-radius: 20px; transform: rotate(-9deg); box-shadow: 0 16px 40px #252d5021; }
.jmb-app-art-card img { width: 36px; height: 36px; vertical-align: middle; margin-right: 7px; }
.jmb-app-art-card i { display: block; width: 83%; height: 7px; margin-top: 11px; border-radius: 12px; background: var(--app-tint); }
.jmb-app-art-card i:last-child { width: 54%; }
.jmb-app-hero-art > span { position: absolute; display: grid; place-items: center; right: 10%; bottom: 6%; width: 47px; height: 47px; border-radius: 12px; color: var(--app-color); background: var(--app-tint); box-shadow: 0 5px 22px #252d5017; transform: rotate(9deg); }
.jmb-app-hero-art > span:last-child { top: 4%; bottom: auto; right: auto; left: 10%; }
.jmb-app-hero-art svg { width: 24px; height: 24px; }
.jmb-app-selector {
    display: grid;
    grid-template-columns: minmax(185px, .8fr) minmax(290px, 1.4fr) minmax(230px, 1fr);
    border: 1px solid #dfe6f0;
    border-radius: 17px;
    overflow: hidden;
}
.jmb-app-selector > section { min-width: 0; padding: clamp(17px, 2.1vw, 29px); }
.jmb-app-selector > section + section { border-left: 1px solid #dfe6f0; }
.jmb-app-selector h3 { margin: 0; font-size: clamp(17px, 1.5vw, 21px); }
.jmb-app-selector .jmb-step { margin: 0 0 16px; }
.jmb-app-selector .jmb-step > span { display: inline-grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: white; background: #aa451f; }
.jmb-app-selector > section:nth-child(2) .jmb-step > span { background: #644bb1; }
.jmb-app-selector .jmb-app-quote .jmb-step > span { background: #216e5c; }
.jmb-app-selected, .jmb-app-region-choice { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #dfe6f0; border-radius: 10px; background: #fff; }
.jmb-app-selected { margin: 0 0 10px; background: var(--app-tint); }
.jmb-app-facts { display:grid; gap:11px; margin:0; font-size:13px; line-height:1.65; }
.jmb-app-facts > div { display:grid; gap:3px; }
.jmb-app-facts dt { display:flex; align-items:center; gap:5px; font-weight:650; color:var(--app-color); }
.jmb-app-facts dt svg { width:16px; height:16px; }
.jmb-app-facts dd { margin:0; color:#526580; }
.jmb-app-selector .jmb-carrier-picker { border:0; margin:0 0 15px; padding:0; min-width:0; }
.jmb-app-selector .jmb-carrier-picker legend { padding:0; margin-bottom:7px; }
.jmb-app-selector .jmb-carrier-picker .jmb-domestic-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.jmb-app-switcher { border:1px solid #dfe6f0; border-radius:10px; background:#fff; }
.jmb-app-switcher > summary { list-style:none; display:flex; align-items:center; gap:7px; padding:10px; cursor:pointer; font-size:14px; color:var(--app-color); }
.jmb-app-switcher > summary::-webkit-details-marker { display:none; }
.jmb-app-switcher > summary > :last-child { margin-left:auto; }
.jmb-app-switcher > summary svg { width:17px; height:17px; }
.jmb-app-switcher[open] { border-color:var(--app-color); }
.jmb-app-switch-menu { padding:0 9px 10px; }
.jmb-app-switch-menu .jmb-search { margin:0 0 7px; padding:7px; }
.jmb-app-switch-menu input { width:100%; min-width:0; font-size:13px; }
.jmb-app-switch-results { display:grid; max-height:270px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.jmb-app-switch-results a { display:flex; align-items:center; gap:9px; padding:8px; border-radius:7px; color:#344a65; font-size:14px; }
.jmb-app-switch-results a:hover,.jmb-app-switch-results a[aria-current] { background:var(--app-tint); color:var(--app-color); }
.jmb-app-switch-results img { width:24px; height:24px; flex:none; }
.jmb-app-switch-results span { overflow-wrap:anywhere; }
.jmb-app-switch-menu .jmb-muted { margin:7px 0; font-size:12px; }
.jmb-app-switch-menu .jmb-text-link { display:block; margin-top:6px; font-size:13px; }
.jmb-app-region-choice { margin: 6px 0 14px; }
.jmb-app-region-choice select { flex: 1; width: 100%; min-width: 0; padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; }
.jmb-app-region-choice .jmb-icon { width: 18px; height: 18px; color: var(--app-color); }
.jmb-app-country-picker > summary { min-height: 48px; }
.jmb-app-country-picker summary { list-style: none; cursor: pointer; }
.jmb-app-country-picker summary::-webkit-details-marker { display: none; }
.jmb-app-country-picker > summary > :last-child { margin-inline-start: auto; }
.jmb-app-country-picker[open] > summary { margin-bottom: 6px; border-color: var(--app-color); }
.jmb-app-country-menu { margin-bottom: 14px; padding: 9px; border: 1px solid var(--jmb-border); border-radius: 10px; }
.jmb-app-country-menu .jmb-search { margin: 0 0 6px; }
.jmb-app-country-list { display: grid; max-height: 220px; overflow-y: auto; }
.jmb-app-other-countries-heading { margin: 7px 0 4px; padding: 0 8px; font-size: 12px; color: #52617b; }
.jmb-app-provinces[open] + [data-app-other-countries] .jmb-app-country-list { max-height: 160px; }
.jmb-app-country-results button, .jmb-app-provinces > summary { display: flex; align-items: center; gap: 8px; padding: 6px 8px; min-height: 39px; border: 1px solid transparent; border-radius: 7px; background: #fff; text-align: start; cursor: pointer; color: inherit; }
.jmb-app-country-results button:is(:hover, [aria-pressed="true"]), .jmb-app-provinces:is([open], [data-selected]) > summary, .jmb-app-provinces > summary:hover { background: var(--app-tint); border-color: var(--jmb-border); }
.jmb-app-country-name { display: flex; align-items: center; gap: 8px; }
.jmb-app-province-toggle { margin-inline-start: auto; font-size: 12px; color: var(--app-color); }
.jmb-app-province-chevron { flex: none; }
.jmb-app-provinces[open] .jmb-app-province-chevron { transform: rotate(180deg); }
.jmb-app-province-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-height: 136px; margin-top: 4px; padding: 2px; overflow-y: auto; }
.jmb-app-province-options button { background: #f4f6fb; }
.jmb-app-province-options svg { width: 15px; height: 15px; flex: none; color: var(--app-color); }
.jmb-app-country-picker img { object-fit: contain; flex: none; }
.jmb-app-number-types { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.jmb-app-number-types legend { margin-bottom: 6px; padding: 0; }
.jmb-app-number-types label { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid #dfe6f0; border-radius: 8px; cursor: pointer; font-size: 14px; }
.jmb-app-number-types label:has(:checked) { border-color: #de916f; background: #fff3ea; }
.jmb-app-number-types input { margin: 0; accent-color: #b8451d; }
.jmb-app-number-types svg { width: 16px; height: 16px; }
.jmb-app-quote { background: linear-gradient(160deg, #fff0e2, #fff9f4); }
.jmb-app-quote-value { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.jmb-app-quote-value strong { color: #a93816; font-size: clamp(22px, 2.3vw, 34px); }
.jmb-app-quote small { display: block; margin-top: 9px; color: #52617b; }
.jmb-app-use-grid article { padding: 17px; }
.jmb-app-uses > h2 { margin: 0 0 12px; }
.jmb-app-use-grid h3 { margin: 10px 0 4px; }
.jmb-app-use-grid .jmb-app-symbol svg, .jmb-app-use-note svg { width: 21px; height: 21px; }
.jmb-app-use-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
.jmb-app-use-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; background: var(--app-tint); border-radius: 9px; font-size: 14px; }
.jmb-app-use-note svg { flex: none; color: var(--app-color); }
.jmb-app-faq > div:nth-child(2) { padding: 13px; border-radius: 14px; background: var(--app-tint); }
.jmb-app-faq .jmb-home-faq-intro > h2 { margin: 0 0 10px; }
.jmb-app-faq .jmb-help-art { max-width: 100%; }
.jmb-app-detail .jmb-column-articles { min-width: 0; }
.jmb-app-checkout {
    width: min(660px, calc(100% - 26px)); max-height: calc(100dvh - 26px);
    padding: 0; border: 1px solid #dfe6f0; border-radius: 16px;
    color: #202c40; background: white; box-shadow: 0 20px 48px #17233b33;
}
.jmb-app-checkout::backdrop { background: #1d293a80; }
.jmb-app-checkout header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; }
.jmb-app-checkout h2, .jmb-app-checkout p { margin: 0; }
.jmb-app-checkout h2 { font-size: 21px; }
.jmb-app-checkout header button { width: 40px; height: 40px; border: 1px solid #e1e7ef; border-radius: 9px; background: #fff; color: inherit; font-size: 22px; cursor: pointer; }
.jmb-app-checkout p { padding: 0 16px 10px; font-size: 14px; }
.jmb-app-checkout iframe { display: block; width: 100%; height: min(660px, calc(100dvh - 170px)); border: 0; border-block: 1px solid #e1e7ef; }
.jmb-app-checkout footer { padding: 9px 16px; }
.jmb-embedded-checkout #jmb-main { padding: 14px; }
.jmb-embedded-checkout .jmb-auth-layout { display: block; width: 100%; padding: 0; }
.jmb-embedded-checkout .jmb-auth-intro { display: none; }
.jmb-embedded-checkout .jmb-auth-panel, .jmb-embedded-checkout .jmb-p1 { margin: 0; padding: 10px; border: 0; box-shadow: none; }
.jmb-embedded-checkout .jmb-tiers { grid-template-columns: repeat(auto-fit, minmax(min(100%, 105px), 1fr)); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .jmb-app-card { transition: transform .18s, box-shadow .18s; }
    .jmb-app-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px #1e304c12; }
}
@media (max-width: 1060px) { .jmb-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
    .jmb-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jmb-app-selector { grid-template-columns: 1fr; }
    .jmb-app-selector > section + section { border-left: 0; border-top: 1px solid #dfe6f0; }
}
@media (max-width: 540px) {
    .jmb-app-grid { gap: 9px; }
    .jmb-app-card a { padding: 10px; }
    .jmb-app-card-head { align-items: flex-start; flex-direction: column; gap: 7px; }
    .jmb-app-coverage { padding: 4px 5px; gap: 3px; }
    .jmb-app-intro { grid-template-columns: 1fr; }
    .jmb-app-hero-art { display: none; }
    .jmb-app-search .jmb-button { padding-inline: 10px; white-space: nowrap; }
    .jmb-app-faq .jmb-home-faq-intro { display: flex; flex-direction: column; justify-content: center; min-height: 105px; }
    .jmb-app-faq .jmb-help-art { transform: scale(.49); }
    .jmb-app-detail .jmb-column-articles { grid-auto-columns: 85%; }
}
