/* variables from theme configuration */
:root {
    --am_logo_link: 1;
--am_bg: #f4f6f8;
--am_bg_size: auto;
--am_bg_size_px: auto;
--am_bg_attachment: scroll;
--am_bg_repeat: no-repeat;
--am_color: #f4f6f8;
--am_link_color: #1a5150;
--am_btn_color: #00aa97;
--am_text_color: #131a1e;
--am_color_c: #0b0907;
--am_color_d: #c2c4c6;
--am_logo_align: left;
--am_logo_width: auto;
--am_logo_width_px: auto;
--am_max_width: 1000;
--am_max_width_px: 1000px;
--am_font_size: 15;
--am_font_size_px: 15px;
--am_font_family: DM Sans;
--am_content_shadow: none;
--am_border_radius: 4;
--am_border_radius_px: 4px;
--am_login_layout: layout.phtml;
--am_login_bg: none;
--am_login_bg_color: unset;
--am_login_shadow: none;
--am_login_legend_bg: #ffffff;
--am_login_legend_padding_top: 1em;
--am_login_form_bg_color: #ffffff;
--am_login_header_display: block;
--am_header_bg_size: cover;
--am_header_bg_size_px: cover;
--am_header_bg_repeat: no-repeat;
--am_header_bg: none;
--am_menu_color: #00aa97;
--am_menu_dashboard: icon;
--am_dashboard_layout: two-col;
--am_identity_align: left;
--am_identity_type: login;
--am_page_bg_color: #ffffff;
--am_page_bg: #ffffff;
--am_header_menu_link_color: #131a1e;
--am_header_menu_link2_color: #131a1e;
--am_header_menu_bg_color: #f4f6f8;
--am_footer_bg: none;
--am_footer_text_color: #6b757e;
--am_footer_link_color: #1a5150;
--am_sm_size: 18;
--am_sm_size_px: 18px;
--am_sm_color: #6b757e;
--am_header_logo: 103;
--am_header_path: 6a32c96813d3b.svg;
--am_link_color_a99: #1a515099;

}
/* end: variables from theme configuration */

body, html {
    font-size: var(--am_font_size_px);
    background: none;
}

html {
    background: var(--am_bg);
    background-size: var(--am_bg_size);
    background-attachment: var(--am_bg_attachment);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.am-layout {
    flex: 1;
}

.am-footer {
    height: auto;
    background: var(--am_footer_bg);
}

.am-common {
    font-family: var(--am_font_family), san-serif;
    color: var(--am_text_color);
}

.am-common legend {
    color: var(--am_text_color);
}

.am-common a {
    color: var(--am_link_color);
    text-decoration-color: var(--am_link_color_a99);
}

.ajax-link, .local-link, .local {
    text-decoration-color: var(--am_link_color_a99);
}

.am-layout {
    min-height: initial;
    margin: 0;
    background: none;
}

.am-header {
    background: var(--am_header_bg);
    background-size: var(--am_header_bg_size);
}

.am-header .am-header-content-wrapper {
    border: none;
    background: none;
}

.am-header-line {
    border:none;
    background: none;
}

.am-footer .am-footer-content-wrapper {
    background: none;
    color: inherit;
    height: auto;
}

.am-footer-content-content {
    padding: 1em 0;
}

.am-footer-text {
    text-align: center;
}

.am-footer .am-footer-content .am-footer-sm a {
    color: var(--am_sm_color);
    font-size: var(--am_sm_size_px);
}

.am-body {
    background: none;
}

.am-body .am-body-content-wrapper {
    border: none;
    padding-bottom: 1em;
    margin-bottom: 50px;
    box-shadow: var(--am_content_shadow);
    border-radius: var(--am_border_radius_px);
    background: var(--am_page_bg);
}

.am-body-content {
    min-height: 300px;
}

.am-header-content-wrapper {
    padding: 0;
}

.am-header-content-content {
    display: none;
}

.am-header .am-header-content .am-header-content-logo {
    float: none;
    margin: 0;
}

.am-header .am-header-content .am-header-logo-wrapper {
    text-align: var(--am_logo_align);
}

.am-main {
    max-width: var(--am_max_width_px);
}

.am-header-content img {
    width: var(--am_logo_width);
}

.am-footer-actions {
    display:none;
}

.am-footer .am-footer-content-wrapper {
    color: var(--am_footer_text_color);
    font-size:.8rem;
}

.am-footer a,
.am-footer a:hover,
.am-footer a:visited,
.am-footer a:active {
    color: var(--am_footer_link_color)
}

.am-user-identity-block {
    float: var(--am_identity_align);
}

.am-page-login .am-header {
    display: var(--am_login_header_display);
}

.am-page-login .am-auth-form legend {
    background: var(--am_login_legend_bg);
    padding-top: var(--am_login_legend_padding_top);
}

.am-page-login .am-auth-form div.am-row {
    background: var(--am_login_form_bg_color);
}

.am-page-login .am-body-content-wrapper {
    background: var(--am_login_bg_color);
    box-shadow: var(--am_login_shadow);
}

.am-auth-form form {
    border: none;
    overflow: hidden;
    box-shadow: 0px 0px 5px #00000022;
}

.am-auth-form form legend {
    border: none;
    background: #f9f9f9;
    padding: 1em 1em 1.5em;
}

.am-auth-form div.am-row div.element,
.am-auth-form div.am-row div.am-element-title {
    padding-right: 2em;
    padding-left: 2em;
}

@media all and (min-width:500px) {

    .am-auth-form div.am-row div.am-element-title {
        padding-right: .5em;
    }
    .am-auth-form div.am-row div.am-element {
        padding-left: .5em;
    }
}

.am-popup {
    border-color: var(--am_color_d);
}

.am-popup .am-popup-header {
    background: var(--am_color);
    color: var(--am_color_c);
}

.am-popup .am-popup-close-icon:after {
    color: var(--am_color_c);
}

.am-fb-login-button-wrapper.am-fb-login-form-after:before,
.am-fb-login-button-wrapper.am-fb-login-form-before:after {
    background: var(--am_color);
}

.am-popup .am-fb-login-button-wrapper.am-fb-login-form-after::before,
.am-popup .am-fb-login-button-wrapper.am-fb-login-form-before::after {
    background: white;
}

.am-signup-link {
    color: var(--am_color_c);
}

.am-login-layout-with-sidebar {
    max-width: 800px;
    margin: 2em auto 0;
}

.am-login-layout-with-sidebar .am-login-form-wrapper,
.am-login-layout-with-sidebar .am-sendpass-form-wrapper {
    margin-top: 0;
}

.am-signup-link {
    max-width: 450px;
    margin: 1em auto 0;
}

@media all and (min-width: 800px) {
    .am-login-layout-with-sidebar .am-login-layout-with-sidebar_form {
        float: left;
        width: 65%;
    }
    .am-login-layout-with-sidebar .am-login-layout-with-sidebar_sidebar {
        display: block;
        width: 35%;
        float: right;
        padding-left: 20px;
        box-sizing: border-box;
    }
    .am-login-layout-with-sidebar .am-auth-form {
        margin: 0;
    }
    .am-login-layout-with-sidebar .am-signup-link {
        margin: 1em 0 0;
    }
}
.am-login-layout-with-sidebar .am-login-layout-with-sidebar_sidebar {
    border-radius: 3px;
    padding: 1em 2em;
    max-width: 450px;
    box-sizing: border-box;
    box-shadow: 0 0 5px #00000022;
    background: #f9f9f9;
    color: #555;
}
.am-login-layout-with-sidebar_clear {
    clear: both;
}

@media all and (max-width: 799px) {
    .am-login-layout-with-sidebar .am-login-layout-with-sidebar_sidebar {
        margin: 2em auto 0;
    }
}

ul.am-tabs li.active,
ul.am-tabs li.normal:hover {
    background: var(--am_menu_color);
}

ul.am-tabs li.active > a,
ul.am-tabs li.normal > a:hover {
    border-color: var(--am_menu_color);
}

.am-page-login-no-label .am-auth-form,
.am-page-login-no-label .am-signup-link,
.am-page-login-no-label .am-fb-login-button-wrapper {
    max-width:350px;
}

.am-page-login-no-label .am-auth-form div.am-row div.am-element-title {
    display: none;
}

.am-page-login-no-label .am-auth-form div.am-row div.am-element {
    margin:0;
    padding:.6em 2em;
}

.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit],
.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit]:active,
.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit]:hover,
.am-page-login-no-label .am-auth-form div.am-row div.am-element input[type=submit]:disabled {
    width: 100%;
}

.am-page-login-no-label .am-auth-form .am-form-login-switch-wrapper {
    text-align: center;
    display: block;
    padding: 1.2em 2em .6em;
}

.am-page-login-no-label .am-auth-form .am-form-login-switch-wrapper  .am-form-login-switch {
    margin:0;
}

@media all and (max-width: 799px) {
    .am-page-login-no-label .am-login-layout-with-sidebar .am-login-layout-with-sidebar_sidebar {
        max-width:350px;
        margin: 2em auto 0;
    }
}

.am-body-content input,
.am-body-content textarea,
.am-body-content select,
.am-body-content button,
.am-popup input,
.am-popup textarea,
.am-popup select,
.am-popup button {
    font-family: var(--am_font_family), san-serif;
}

.am-body-content a.button,
.am-body-content button,
.am-body-content input[type="button"],
.am-body-content input[type="submit"],
.am-popup a.button,
.am-popup button,
.am-popup input[type="button"],
.am-popup input[type="submit"],
.am-body-content a.button:hover,
.am-body-content button:hover,
.am-body-content input[type="button"]:hover,
.am-body-content input[type="submit"]:hover,
.am-popup a.button:hover,
.am-popup button:hover,
.am-popup input[type="button"]:hover,
.am-popup input[type="submit"]:hover {
    color: white;
    background: var(--am_btn_color);
    border-color: var(--am_btn_color);
}

.am-body-content input[type=submit]:disabled,
.am-body-content input[type=submit]:disabled:hover,
.am-body-content input[type=button]:disabled,
.am-body-content input[type=button]:disabled:hover,
.am-body-content button:disabled,
.am-body-content button:disabled:hover,
.am-popup input[type=submit]:disabled,
.am-popup input[type=submit]:disabled:hover,
.am-popup input[type=button]:disabled,
.am-popup input[type=button]:disabled:hover,
.am-popup button:disabled,
.am-popup button:disabled:hover {
    background: #f1f1f1;
    color: #ccc;
    border-color: #ced4da;
}

.input-file .input-file-button,
.input-file.hover .input-file-button {
    color: white;
    background: var(--am_btn_color);
    border: none;
    text-shadow: none;
}
.input-file.hover {
    border-color: var(--am_btn_color);
}

.am-header-menu-wrapper a,
ul.am-header-menu-narrow a,
ul.am-header-menu a {
    color: var(--am_header_menu_link_color);
}

ul.am-header-menu ul a {
    color: var(--am_header_menu_link2_color);
}

ul.am-header-menu-narrow ul a {
    color: var(--am_header_menu_link_color);
}

ul.am-header-menu > li > a::after {
    background: var(--am_header_menu_link_color);
    opacity: .4;
}

ul.am-header-menu li ul {
    background: var(--am_header_menu_bg_color);
}

.am-grid-wrap .filter-button input[type=submit] {
    border-color: #ced4da;
}

/* =========================================================================
   Omega Indexer overrides — editorial-technical look to match the website:
   DM Sans everywhere, hairline "ledger" surfaces, single
   teal accent (#00aa97) on a white-on-grey canvas.
   Brand tokens: teal #00aa97 / accent #00897a / link #1a5150 / signal #10c8b1
   ink #131a1e / muted #6b757e / canvas #f4f6f8 / surface #eaeef1 / border #e4e8ec
   ========================================================================= */

/* --- Type ---------------------------------------------------------------- */
.am-common,
.am-common input,
.am-common textarea,
.am-common select,
.am-common button,
.am-body-content input,
.am-body-content textarea,
.am-body-content select,
.am-body-content button,
.am-popup input,
.am-popup textarea,
.am-popup select,
.am-popup button {
    font-family: 'DM Sans', var(--am_font_family), ui-sans-serif, system-ui, sans-serif;
}

.am-common {
    font-feature-settings: "tnum";
    color: var(--am_text_color);
}

.am-common h1, .am-common h2, .am-common h3, .am-common h4 {
    letter-spacing: -0.01em;
    color: #131a1e;
}

/* --- Section / form titles read as HEADINGS — DM Sans, like the homepage hero
   (e.g. the login form's "Login to your Account" legend). NOT the mono label
   voice — that is reserved for the small kickers/labels below. */
.am-common legend {
    font-family: 'DM Sans', var(--am_font_family), ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #131a1e;
    border-bottom: 1px solid #e4e8ec;
}

/* --- Label voice: small field titles, table heads, footer micro ---------- */
.am-common .am-element-title label,
.am-common .am-element-title > .am-element-title-text,
.am-list thead th,
table.am-list th,
.am-footer .am-footer-text {
    font-family: 'DM Sans', var(--am_font_family), ui-sans-serif, system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.am-common .am-element-title label,
.am-common .am-element-title > .am-element-title-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b757e;
}

.am-list thead th,
table.am-list th {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b757e;
    background: #eaeef1;
}

/* --- Hairline "ledger" surfaces ------------------------------------------ */
.am-body .am-body-content-wrapper {
    border: 1px solid #e4e8ec;
    box-shadow: var(--am_content_shadow);
}

.am-list td,
.am-list th,
table.am-list td,
table.am-list th {
    border-color: #e4e8ec;
}

.am-popup {
    border: 1px solid #e4e8ec;
}

/* --- Inputs: hairline border, restrained radius, teal focus ring --------- */
.am-body-content input[type=text],
.am-body-content input[type=email],
.am-body-content input[type=password],
.am-body-content input[type=number],
.am-body-content input[type=tel],
.am-body-content input[type=url],
.am-body-content input[type=search],
.am-body-content textarea,
.am-body-content select,
.am-popup input[type=text],
.am-popup input[type=email],
.am-popup input[type=password],
.am-popup textarea,
.am-popup select {
    border: 1px solid #e4e8ec;
    border-radius: 4px;
}

.am-body-content input[type=text]:focus,
.am-body-content input[type=email]:focus,
.am-body-content input[type=password]:focus,
.am-body-content input[type=number]:focus,
.am-body-content input[type=tel]:focus,
.am-body-content input[type=url]:focus,
.am-body-content input[type=search]:focus,
.am-body-content textarea:focus,
.am-body-content select:focus,
.am-popup input:focus,
.am-popup textarea:focus,
.am-popup select:focus {
    border-color: #00aa97;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 170, 151, 0.18);
    box-shadow: 0 0 0 3px color-mix(in oklab, #00aa97 18%, transparent);
}

/* --- Buttons: teal fill, small radius, 1px hover lift -------------------- */
.am-body-content a.button,
.am-body-content button,
.am-body-content input[type="button"],
.am-body-content input[type="submit"],
.am-popup a.button,
.am-popup button,
.am-popup input[type="button"],
.am-popup input[type="submit"] {
    border-radius: 4px;
    font-weight: 600;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.am-body-content a.button:hover,
.am-body-content button:hover,
.am-body-content input[type="button"]:hover,
.am-body-content input[type="submit"]:hover,
.am-popup a.button:hover,
.am-popup button:hover,
.am-popup input[type="button"]:hover,
.am-popup input[type="submit"]:hover {
    transform: translateY(-1px);
}

/* --- Dashboard tabs: white text on the teal active state ----------------- */
ul.am-tabs li > a {
    font-family: 'DM Sans', var(--am_font_family), ui-sans-serif, system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

ul.am-tabs li.active > a,
ul.am-tabs li.normal:hover > a {
    color: #fff;
}

/* --- Header logo: cap the square Omega mark to a header-sized height ------ */
.am-header-content img {
    max-height: 44px;
    width: auto;
}

/* --- Accents: links + selection ------------------------------------------ */
.am-common a:hover {
    color: #00897a;
}

::selection {
    background: rgba(0, 170, 151, 0.22);
    background: color-mix(in oklab, #00aa97 22%, transparent);
}

/* =========================================================================
   Omega platform shell (2026) — modern SaaS app frame for logged-in pages:
   left sidebar + slim topbar, light-grey canvas, white hairline cards.
   Light chrome, teal as signal only (active nav = teal text + teal left-bar).
   ========================================================================= */

/* --- App shell grid ------------------------------------------------------ */
body.om-app { background: #f4f6f8; }

.om-shell {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

.om-sidebar {
    flex: 0 0 240px;
    width: 240px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid #e4e8ec;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 30;
}

.om-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f4f6f8;
}

/* --- Sidebar ------------------------------------------------------------- */
.om-sidebar-head {
    padding: 18px 20px;
    border-bottom: 1px solid #e4e8ec;
}
.om-sidebar-head img {
    max-height: 32px;
    width: auto;
    display: block;
}

.om-sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 12px;
}

.om-nav-sep {
    height: 1px;
    background: #e4e8ec;
    margin: 12px 8px;
}

.om-sidebar-foot {
    padding: 14px 20px;
    border-top: 1px solid #e4e8ec;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #757d85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar nav items (renderMenu output) */
ul.om-nav,
ul.om-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.om-nav li { margin: 1px 0; }
/* base amember.css has `.am-common ul li { list-style-type: disc }`, which paints
   a bullet on every sidebar nav item (the nav already styles items as links). The
   `.am-common` prefix here out-specifies that rule to drop the bullets. */
.am-common ul.om-nav li { list-style: none; }
ul.om-nav li > a {
    display: flex;
    align-items: center;
    gap: 0.55em;
    padding: 0.58em 0.8em;
    border-radius: 6px;
    border-left: 3px solid transparent;
    color: #6b757e;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
ul.om-nav li > a:hover {
    background: #f4f6f8;
    color: #131a1e;
}
ul.om-nav li.active > a,
ul.om-nav li.normal.active > a {
    color: #00897a;
    font-weight: 600;
    background: rgba(0, 170, 151, 0.08);
    background: color-mix(in oklab, #00aa97 8%, transparent);
    border-left-color: #00aa97;
}
ul.om-nav ul {
    margin: 0.15em 0 0.35em 0.8em;
}
ul.om-nav ul li > a {
    font-size: 0.85rem;
    padding: 0.42em 0.8em;
}
ul.om-nav .menu-item-alert {
    margin-left: auto;
    background: #00aa97;
    color: #fff;
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1;
    padding: 0.25em 0.5em;
}

/* --- Topbar -------------------------------------------------------------- */
.om-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 56px;
    padding: 0 24px;
    background: #ffffff;
    border-bottom: 1px solid #e4e8ec;
    position: sticky;
    top: 0;
    z-index: 20;
}
.om-topbar-spacer { flex: 1 1 auto; }
.om-topbar-identity { font-size: 0.9rem; }
.om-topbar .am-user-identity-block,
.om-topbar .am-user-identity-block-avatar {
    float: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.om-topbar .am-user-identity-block a { color: #1a5150; }

/* Hamburger — hidden on desktop, shown when the sidebar collapses */
.om-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 0 9px;
    border: 1px solid #e4e8ec;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.om-nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #131a1e;
}
.om-nav-backdrop { display: none; }

/* --- Content canvas ------------------------------------------------------ */
.om-content {
    flex: 1 1 auto;
    padding: 28px 32px 48px;
}
.om-content .am-main {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}
.om-content .am-body-content,
.om-content .am-body-content-content {
    background: none;
}
.om-content .am-body-content-top h1 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #131a1e;
    margin: 0 0 20px;
}
.om-content .am-breadcrumbs {
    font-size: 0.78rem;
    color: #757d85;
    margin-bottom: 6px;
}

/* --- Footer -------------------------------------------------------------- */
.om-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 16px 28px;
    border-top: 1px solid #e4e8ec;
    color: #757d85;
    font-size: 0.78rem;
}
.om-footer-sm a { color: #6b757e; margin-left: 0.6em; }
.om-footer-sm a:hover { color: #00897a; }

/* --- Dashboard widgets rendered as hairline cards ------------------------ */
.om-content .am-widget {
    background: #ffffff;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
}
.om-content .am-widget > h2 {
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid #e4e8ec;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #131a1e;
    background: #fff;
    text-transform: none;
}
/* the widget IS the card; flatten aMember's inner .am-block panel so we
   don't get a bordered box inside a bordered box */
.om-content .am-widget .am-block {
    padding: 18px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    margin: 0;
}
/* hide empty widget headers (blocks rendered without a title) */
.om-content .am-widget > h2:empty { display: none; }

/* Two-column member dashboard → responsive card grid (main + secondary) */
.om-content .am-layout-two-coll {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.om-content .am-layout-two-coll .am-coll-left,
.om-content .am-layout-two-coll .am-coll-right {
    float: none;
    width: auto;
}
.om-content .am-layout-two-coll .am-coll-content { margin: 0; }
.om-content .am-layout-two-coll-top,
.om-content .am-layout-two-coll-bottom { display: none; }

@media (max-width: 980px) {
    .om-content .am-layout-two-coll { grid-template-columns: 1fr; }
}

/* --- Auth pages (login / signup / sendpass): full-page teal, centered card -- */
/* Base CSS (amember.css) pins `body, html { height: 100% }`, i.e. one viewport.
   That cap propagates to .om-auth: even with min-height:100vh it cannot grow
   past its fixed-height parent, so a tall signup form overflows it and exposes
   <html>'s background (var(--am_bg) = grey) below the teal. Releasing the body
   to height:auto on auth pages lets it grow to the content; .om-auth then grows
   with it and its teal covers the whole page, top to bottom.
   The app shell (.om-app) has the same pin: .om-shell is capped at one viewport,
   so on a tall page (e.g. logged-in signup/purchase) its content overflows and
   the sticky sidebar's white column stops mid-page instead of filling the left
   edge to the bottom. height:auto lets the shell grow so the sidebar covers it. */
body.om-auth-page,
body.om-app { height: auto; }
.om-auth {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 48px 20px;
    box-sizing: border-box;
    background-color: #0f4f4a;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(150deg, #00aa97 0%, #0f4f4a 100%);
    background-size: 24px 24px, cover;
    background-repeat: repeat, no-repeat;
}
/* margin:auto centers the card when it fits; when the form is taller than the
   viewport the auto margins collapse to 0 so it top-aligns and scrolls — no top
   clip, so the logo is never cut off (unlike justify-content:center) */
.om-auth-centered {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 440px;
}
body.am-page-signup .om-auth-centered { max-width: 560px; }

/* branding above the card */
.om-auth-head { text-align: center; color: #fff; margin-bottom: 1.6rem; }
.om-auth-logo { height: 48px; width: auto; filter: brightness(0) invert(1); }
.om-auth-tagline {
    margin-top: 0.9rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

/* the white auth card */
.om-auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 70px -25px rgba(8, 30, 28, 0.55);
    overflow: hidden;
}
/* thanks / payment pending / error pages: no form rows to space the text */
.om-auth-card:not(:has(form, .om-auth-gate)) { padding: 1.6rem 1.8rem; }
/* ?_msg= notice (e.g. "password changed, please log in") above the form */
.om-auth-card .am-info-msg-flash { margin: 1.2rem 1.8rem 0; }
/* e-mail verification step: stock amember.css paints the #EmailCode form yellow */
.am-common #EmailCode { background: none; font-size: 1rem; }
.om-auth-card .am-form,
.om-auth-card .am-auth-form,
.om-auth-card .am-auth-form form,
.om-auth-card .am-login-form-wrapper,
.om-auth-card .am-sendpass-form-wrapper {
    border: none;
    box-shadow: none;
    background: none;
    margin: 0;
    max-width: none;
}
.om-auth-card fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.om-auth-card legend {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1.7rem 1.8rem 0.2rem;
    border: none;
    background: none;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #131a1e;
}

/* form rows → vertical (label above input), full-width controls */
.om-auth-card .am-row {
    display: block;
    padding: 0.55rem 1.8rem;
    background: none;
    border: none;
}
.om-auth-card .am-row .am-element-title,
.om-auth-card .am-row .am-element {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}
.om-auth-card .am-element-title label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b757e;
}
.om-auth-card input[type=text],
.om-auth-card input[type=email],
.om-auth-card input[type=password],
.om-auth-card input[type=tel],
.om-auth-card input[type=number],
.om-auth-card select,
.om-auth-card textarea {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    padding: 0 0.85rem;
    background: #fff;
    font-size: 0.95rem;
}
.om-auth-card textarea { height: auto; padding: 0.6rem 0.85rem; }
.om-auth-card input:focus,
.om-auth-card select:focus,
.om-auth-card textarea:focus {
    outline: none;
    border-color: #00aa97;
    box-shadow: 0 0 0 3px rgba(0, 170, 151, 0.18);
}

/* primary submit → full-width teal button */
.om-auth-card input[type=submit],
.om-auth-card button[type=submit] {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #00aa97;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.om-auth-card input[type=submit]:hover,
.om-auth-card button[type=submit]:hover {
    background: #009684;
    transform: translateY(-1px);
}
.om-auth-card .am-row-buttons { padding-top: 0.4rem; padding-bottom: 1.6rem; }
.om-auth-card .am-row-buttons .am-element { text-align: center; }
.om-auth-card .am-form-login-switch-wrapper { display: block; margin-top: 0.9rem; }
.om-auth-card .am-form-login-switch-wrapper a { color: #6b757e; font-size: 0.85rem; }

/* "stay signed in" — normal-weight inline note, not an uppercase label */
.om-auth-card label[for=remember_login],
.om-auth-card #am-form-login-remember {
    display: inline-block;
    margin-top: 0.55rem;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: #6b757e;
}

/* recaptcha — centered */
.om-auth-card .am-row-recaptcha .am-element {
    display: flex;
    justify-content: center;
}

/* google sign-in — centered, with an "or" divider when shown after the form */
.om-auth-card .am-google-button-wrapper {
    padding: 0.4rem 1.8rem 1.6rem;
    text-align: center;
}
.om-auth-card .am-google-login-form-after::before {
    content: "or";
    display: block;
    margin: 0.2rem 0 1rem;
    color: #757d85;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.om-auth-card .am-google-button { display: inline-block; }
.om-auth-card .am-google-button img { display: block; max-width: 100%; height: auto; }

/* member-area gate (logged-out /amember/ landing): the default index.phtml
   dropped raw "please login / signup" text straight into the card with no
   padding, so it rendered as a cramped pill. The theme's index.phtml override
   wraps it as a padded prompt + Log In / Sign Up buttons. */
.om-auth-card .om-auth-gate {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}
.om-auth-card .om-auth-gate-msg {
    margin: 0 0 0.4rem;
    color: #6b757e;
    font-size: 0.95rem;
}
.om-auth-card .om-auth-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 46px;
    line-height: 46px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.om-auth-card .om-auth-btn-primary { background: #00aa97; color: #fff; }
.om-auth-card .om-auth-btn-primary:hover { background: #009684; transform: translateY(-1px); }
.om-auth-card .om-auth-btn-secondary {
    background: #fff;
    color: #1a5150;
    border: 1px solid #d4dbe1;
}
.om-auth-card .om-auth-btn-secondary:hover {
    border-color: #00aa97;
    color: #00897a;
    transform: translateY(-1px);
}

/* Signup: present Google as a first-class *signup* option, not login-only.
   By default the card stacks [login pointer] -> [Google button] -> [email form],
   so "log in ... or ... Sign in with Google" reads as if Google only signs in
   existing users. It actually registers new users too (the google-signin
   callback creates the account when none matches). On signup we reorder so the
   Google button leads, the email form follows under an "or sign up with email"
   divider, and the login pointer drops to a footer -- removing the misleading
   bracket. Login page keeps its own "...or Sign in with Google" (not scoped). */
body.am-page-signup .om-auth-card .am-signup {
    display: flex;
    flex-direction: column;
}
body.am-page-signup .om-auth-card .am-google-button-wrapper { order: 1; }
body.am-page-signup .om-auth-card .am-form { order: 2; }
body.am-page-signup .om-auth-card .am-info.am-login-text { order: 3; }

/* drop the divider that sat above the button; add one below it that frames the
   email form, so both paths read clearly as ways to sign up */
body.am-page-signup .om-auth-card .am-google-login-form-after::before { content: none; }
body.am-page-signup .om-auth-card .am-google-button-wrapper::after {
    content: "or sign up with email";
    display: block;
    margin: 1.4rem 0 0;
    color: #757d85;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* the "already have an account? log in" pointer sits as a quiet closing line.
   No top border: a hairline here plus the card's own rounded bottom edge
   sandwiched a same-white strip that read as a detached second card. Spacing
   alone separates it from the form (base rule keeps it centered + muted). */
body.am-page-signup .om-auth-card .am-info.am-login-text {
    margin-top: 0.2rem;
    padding-bottom: 1.6rem;
}

/* signup link / "already registered" offer as a card footer */
.om-auth-card .am-signup-link {
    margin: 0;
    padding: 1.2rem 1.8rem;
    border-top: 1px solid #e4e8ec;
    text-align: center;
    font-size: 0.88rem;
    color: #6b757e;
}
.om-auth-card .am-signup-link a { color: #1a5150; font-weight: 600; }

/* --- Signup: de-clutter the form-builder output (login is untouched) ----- */
/* "if you already have an account" → a quiet note, not a boxed notice */
.om-auth-card .am-info.am-login-text {
    margin: 0;
    padding: 1.2rem 1.8rem 0.4rem;
    border: none;
    background: none;
    text-align: center;
    font-size: 0.85rem;
    color: #6b757e;
}
.om-auth-card .am-info.am-login-text a { color: #1a5150; font-weight: 600; }

/* section legends become small left-aligned headers, not big centered titles */
body.am-page-signup .om-auth-card legend {
    padding: 1.4rem 1.8rem 0.4rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b757e;
}
.om-auth-card .fieldset { padding: 0; }

/* field help text → small + muted (it inherits the label's uppercase otherwise) */
.om-auth-card .comment {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    color: #757d85;
}
.om-auth-card .required { color: #00aa97; }
.om-auth-card .reqnote {
    padding: 0.2rem 1.8rem 1.2rem;
    font-size: 0.75rem;
    color: #757d85;
}

/* signup: sentence-case field labels. Uppercase suits login's two short labels,
   but here the long terms/newsletter labels are unreadable in all-caps. */
body.am-page-signup .om-auth-card .am-element-title label {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: #131a1e;
}
/* never underline help text */
.om-auth-card .comment,
.om-auth-card .comment * {
    text-decoration: none;
    border-bottom: none;
}
/* password strength meter: drop its grey track (a stray grey line while empty) so
   only the coloured bar shows, and draw it just below the input (stock puts it 6px
   above, across the "must be N or more characters" note); make its wrapper
   full-width so the input fills the row */
.om-auth-card .am-pass-indicator-bar { background: transparent; top: auto; bottom: -6px; }
.om-auth-card .am-pass-indicator-wrap {
    display: block;
    width: 100%;
    border: none;
}
/* first & last name on one row */
body.am-page-signup .om-auth-card .am-element.group {
    display: flex;
    gap: 0.75rem;
}
body.am-page-signup .om-auth-card .am-element.group br { display: none; }
/* exclude checkboxes: the newsletter opt-in also uses .am-element.group, and
   this width/flex sizing is only meant for the first/last-name text inputs */
body.am-page-signup .om-auth-card .am-element.group input:not([type=checkbox]) {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

/* multi-page signup (native "Form Page Break"): the page-back control renders as
   a bare <a>Back</a> sharing the buttons row with the teal "Next" submit, so it
   shows as tiny underlined text squeezed beside it. Style it as a secondary
   button next to Next. :has(... submit) limits it to the nav group so it never
   hits the Terms/Privacy links inside consent labels. Scoped to am-page-signup
   so it covers both the logged-out auth card and the logged-in app-shell form. */
body.am-page-signup .am-element.group:has(> input[type=submit], > button[type=submit]) > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 1.3rem;
    border-radius: 8px;
    border: 1px solid #d4dbe1;
    background: #fff;
    color: #1a5150;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
body.am-page-signup .am-element.group:has(> input[type=submit], > button[type=submit]) > a:hover {
    border-color: #00aa97;
    color: #00897a;
    transform: translateY(-1px);
}

/* --- Login popup (ajax modal opened from "log in" links) ------------------ */
/* aMember loads the login form into a generic .am-popup that sits OUTSIDE
   .om-auth-card, so none of the branded auth styling reaches it and it falls
   back to the plain default look. Re-apply the same kit here: branded inputs,
   full-width teal submit, centered reCAPTCHA, and a centered Google button with
   an "or" divider. Horizontal padding stays 0 inside the content — the popup
   already pads its sides, and the reCAPTCHA (~302px) needs the full ~337px width. */
.am-popup {
    border-radius: 14px;
    box-shadow: 0 30px 70px -25px rgba(8, 30, 28, 0.55);
}
.am-popup-header {
    background: #fff;
    border-bottom: 1px solid #e4e8ec;
}
.am-popup-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #131a1e;
}
.am-popup-content { padding: 0.4rem 0 0.4rem; }

/* flatten the inner form chrome; the popup header already carries the title */
.am-popup .am-form,
.am-popup .am-auth-form,
.am-popup .am-auth-form form,
.am-popup .am-login-form-wrapper {
    border: none;
    box-shadow: none;
    background: none;
    margin: 0;
    max-width: none;
}
.am-popup fieldset { border: none; margin: 0; padding: 0; }
.am-popup legend { display: none; }

/* rows → label above input, full-width controls, no extra side padding */
.am-popup .am-row { display: block; padding: 0.5rem 0; background: none; border: none; }
.am-popup .am-row .am-element-title,
.am-popup .am-row .am-element {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}
.am-popup .am-element-title label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b757e;
}
.am-popup input[type=text],
.am-popup input[type=email],
.am-popup input[type=password] {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    padding: 0 0.85rem;
    background: #fff;
    font-size: 0.95rem;
}
.am-popup input:focus {
    outline: none;
    border-color: #00aa97;
    box-shadow: 0 0 0 3px rgba(0, 170, 151, 0.18);
}
.am-popup input[type=submit],
.am-popup button[type=submit] {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #00aa97;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.am-popup input[type=submit]:hover,
.am-popup button[type=submit]:hover {
    background: #009684;
    transform: translateY(-1px);
}
.am-popup .am-row-buttons { padding-top: 0.4rem; }
.am-popup .am-row-buttons .am-element { text-align: center; }
.am-popup .am-form-login-switch-wrapper { display: block; margin-top: 0.9rem; }
.am-popup .am-form-login-switch-wrapper a { color: #6b757e; font-size: 0.85rem; }
.am-popup label[for=remember_login],
.am-popup #am-form-login-remember {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: #6b757e;
}
.am-popup .am-row-recaptcha .am-element { display: flex; justify-content: center; }

/* google button: centered, with an "or" divider above it (login context) */
.am-popup .am-google-button-wrapper { padding: 0.8rem 0 0.2rem; text-align: center; }
.am-popup .am-google-login-form-after::before {
    content: "or";
    display: block;
    margin: 0.2rem 0 0.9rem;
    color: #757d85;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.am-popup .am-google-button { display: inline-block; }
.am-popup .am-google-button img { display: block; max-width: 100%; height: auto; }

/* === Member-area forms (purchase / profile): modernized two-column ======== */
/* aMember's stock content forms use grey legend bands, a very wide right-aligned
   label column, plain inputs and native radios. This restyles them to match the
   brand: full-width tightened left-aligned two-column rows, branded inputs/
   selects, teal radios, and product options as selectable cards. The <form>
   element itself is the single card (aMember already gives it a white box) --
   capped, rounded and padded below; we don't add a wrapper card on top, which
   would nest cards-within-cards. */

/* cap the form column (was the full 1600) and make the <form> a proper rounded
   card: aMember's default is a tight 3px box with zero padding, so content sat
   right on the border. Round it to match the other cards and inset the content. */
.om-content .am-signup,
.om-content .am-form { max-width: 1236px; }
.om-content .am-form form {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    box-shadow: none;
    padding: 0.6rem 1.8rem 1.8rem;
}

/* the "You are logged-in as ..." banner -> a quiet note, not a flat blue band */
.om-content .am-info.am-login-text {
    margin: 0 auto 1rem;
    background: #f4f6f8;
    border: 1px solid #e4e8ec;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: #6b757e;
    font-size: 0.9rem;
}
.om-content .am-info.am-login-text a { color: #1a5150; font-weight: 600; }

/* section headers: clean uppercase dividers, no band.
   Scoped to `.om-content .am-form legend` (0,2,1) so it beats aMember's
   `.am-form fieldset legend` (0,1,2), which otherwise paints a grey #f8f9f9
   band and its own border/padding over the top. */
.om-content fieldset { border: none; margin: 0; padding: 0; }
.om-content .am-form legend {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: none;
    padding: 1.5rem 0 0.5rem;
    margin-bottom: 0.5rem;
    border: none;
    border-bottom: 1px solid #e4e8ec;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #131a1e;
}

/* two-column rows: narrow, left-aligned label + field */
.om-content .am-form .am-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0.55rem 0;
    background: none;
    border: none;
}
.om-content .am-form .am-row .am-element-title {
    flex: 0 0 180px;
    width: 180px;
    float: none;
    margin: 0;
    padding: 0.6rem 0 0;
    text-align: left;
}
.om-content .am-form .am-row .am-element-title label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: #131a1e;
}
.om-content .am-form .am-row .am-element {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
}
/* rows without a label (buttons / summary) shouldn't reserve the label column */
.om-content .am-form .am-row-buttons,
.om-content .am-form .am-row-wide { display: block; }

/* branded inputs / selects / textareas */
.om-content .am-element input[type=text],
.om-content .am-element input[type=email],
.om-content .am-element input[type=password],
.om-content .am-element input[type=tel],
.om-content .am-element input[type=number],
.om-content .am-element select,
.om-content .am-element textarea {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    padding: 0 0.8rem;
    background: #fff;
    font-size: 0.95rem;
}
.om-content .am-element textarea { height: auto; padding: 0.6rem 0.8rem; }
/* focus ring only on the text-like controls -- NOT radios/checkboxes, where a
   square box-shadow would frame the round/square control and look broken */
.om-content .am-element input[type=text]:focus,
.om-content .am-element input[type=email]:focus,
.om-content .am-element input[type=password]:focus,
.om-content .am-element input[type=tel]:focus,
.om-content .am-element input[type=number]:focus,
.om-content .am-element select:focus,
.om-content .am-element textarea:focus {
    outline: none;
    border-color: #00aa97;
    box-shadow: 0 0 0 3px rgba(0, 170, 151, 0.18);
}
/* grouped fields (e.g. first / last name) sit side by side */
.om-content .am-element.group { display: flex; gap: 0.75rem; align-items: center; }
.om-content .am-element.group br { display: none; }
/* the Stripe card field mounts as a <div class="StripeElement">, not an <input>,
   so it needs the same flex-fill or it collapses to its tiny intrinsic width */
.om-content .am-element.group input,
.om-content .am-element.group .StripeElement { flex: 1 1 0; width: auto; min-width: 0; }

/* radios -> teal accent (matches the custom checkboxes) */
.om-content input[type=radio] { accent-color: #00aa97; width: 16px; height: 16px; cursor: pointer; }

/* product / payment options -> selectable cards */
.om-content .am-element label:has(> input[type=radio]) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.5rem;
    position: relative;
    margin: 0 0 0.6rem;
    padding: 0.85rem 1rem 0.85rem 2.6rem;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.om-content .am-element label:has(> input[type=radio]):hover { border-color: #00aa97; }
.om-content .am-element label:has(> input[type=radio]:checked) {
    border-color: #00aa97;
    background: rgba(0, 170, 151, 0.05);
    box-shadow: inset 0 0 0 1px #00aa97;
}
.om-content .am-element label:has(> input[type=radio]) > input[type=radio] {
    position: absolute;
    left: 1rem;
    top: 1.05rem;
}
.om-content .am-element label:has(> input[type=radio]) + br { display: none; }
.om-content .am-product-title { font-weight: 700; font-size: 1rem; color: #131a1e; }
.om-content .am-product-terms { margin-left: auto; font-weight: 600; color: #131a1e; }
.om-content .am-product-desc {
    flex-basis: 100%;
    margin-top: 0.2rem;
    color: #6b757e;
    font-size: 0.85rem;
}

/* invoice / order summary -> clean ledger */
.om-content .am-invoice-summary-items {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    overflow: hidden;
}
.om-content .am-invoice-summary-items td,
.om-content .am-invoice-summary-items th {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #eef1f4;
    font-size: 0.92rem;
}
.om-content .am-invoice-summary-items tr:last-child td {
    border-bottom: none;
    font-weight: 800;
    color: #131a1e;
}

/* primary submit -> prominent teal button */
.om-content input.am-cta-signup,
.om-content .am-row-buttons input[type=submit],
.om-content .am-row-buttons button[type=submit] {
    height: 46px;
    min-width: 180px;
    padding: 0 1.8rem;
    border: none;
    border-radius: 8px;
    background: #00aa97;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.om-content input.am-cta-signup:hover,
.om-content .am-row-buttons input[type=submit]:hover {
    background: #009684;
    transform: translateY(-1px);
}

/* --- Form checkboxes: custom rounded box, teal fill + white check --------- */
/* Replaces the 13px OS-blue native checkbox with a branded box that matches the
   rounded teal inputs. Scoped to .am-common, which wraps every themed surface
   (auth pages, the app shell, and the login popup), so the signup Terms box,
   the newsletter opt-in, the Google-consent checkbox and "Stay signed in" all
   match. The checkmark is an inline SVG shown only when :checked. */
.am-common input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0 0.5em 0 0;
    vertical-align: -0.2em;
    border: 1px solid #d4dbe1;
    border-radius: 5px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 72%;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.am-common input[type=checkbox]:hover { border-color: #00aa97; }
.am-common input[type=checkbox]:focus-visible {
    outline: none;
    border-color: #00aa97;
    box-shadow: 0 0 0 3px rgba(0, 170, 151, 0.18);
}
.am-common input[type=checkbox]:checked {
    background-color: #00aa97;
    border-color: #00aa97;
    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-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
}
.am-common input[type=checkbox]:disabled {
    background-color: #eef1f4;
    border-color: #e4e8ec;
    cursor: not-allowed;
    opacity: 0.7;
}

/* --- Responsive: collapse the sidebar to an off-canvas drawer ------------ */
@media (max-width: 880px) {
    .om-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        visibility: hidden; /* closed menu stays out of the keyboard tab order */
        transition: transform .25s ease, visibility 0s linear .25s;
        box-shadow: 0 0 40px rgba(16, 24, 40, 0.18);
    }
    .om-shell.om-nav-open .om-sidebar { transform: translateX(0); visibility: visible; transition: transform .25s ease; }
    .om-shell.om-nav-open .om-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(16, 24, 40, 0.35);
        z-index: 25;
    }
    .om-nav-toggle { display: flex; }
    .om-content { padding: 18px 16px 32px; }
}

/* member-area forms on phones: the two-column rows squeeze the field into a
   sliver (plan cards wrap word-by-word). Collapse to single column - label above
   field - tighten the card padding, and stack each plan card's name/price/detail. */
@media (max-width: 700px) {
    .om-content .am-form form { padding: 0.4rem 1.1rem 1.3rem; }
    .om-content .am-form .am-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }
    .om-content .am-form .am-row .am-element-title {
        flex: 0 0 auto;
        width: auto;
        padding: 0 0 0.1rem;
    }
    .om-content .am-product-terms { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 520px) {
    .om-auth-card legend,
    .om-auth-card .am-row,
    .om-auth-card .am-google-button-wrapper,
    .om-auth-card .am-signup-link {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .om-auth-card:not(:has(form, .om-auth-gate)) { padding: 1.2rem; }
    .om-auth-card .am-info-msg-flash { margin-left: 1.2rem; margin-right: 1.2rem; }
    .om-auth-tagline { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .om-sidebar, .om-shell.om-nav-open .om-sidebar { transition: none; }
}
