:root {
    --inbetween-white: #fff;
    --inbetween-canvas: #fcfafb;
    --inbetween-subtle: #f7f2f4;
    --inbetween-soft: #fff6f9;
    --inbetween-accent: var(--e-global-color-primary, #d72865);
    --inbetween-accent-dark: var(--e-global-color-accent, #a91f4d);
    --inbetween-accent-deep: #86183d;
    --inbetween-ink: var(--e-global-color-text, #2d2529);
    --inbetween-ink-soft: #473c41;
    --inbetween-muted: var(--e-global-color-secondary, #6f6268);
    --inbetween-tertiary: #8b7d83;
    --inbetween-border: #eadde3;
    --inbetween-border-strong: #c9b8c0;
    --inbetween-success: #19743b;
    --inbetween-success-bg: #ecf8f0;
    --inbetween-warning: #9a4d00;
    --inbetween-warning-bg: #fff7e8;
    --inbetween-error: #b42318;
    --inbetween-error-bg: #fff0ef;
    --inbetween-radius-sm: 0.375rem;
    --inbetween-radius-md: 0.5rem;
    --inbetween-radius-lg: 0.75rem;
    --inbetween-radius-xl: 1rem;
    --inbetween-radius-2xl: 1.5rem;
    --inbetween-shadow-card: 0 0.25rem 1rem rgb(45 37 41 / 6%);
    --inbetween-content: 52rem;
    --inbetween-wide: 75rem;
}

/* Phase 19 — Figma 46:291 / 46:401, scoped to the Five Rounds endpoint value. */
.inb-experience-elementor-intro { display: none !important; }

body.inbetween-five-rounds-page {
    --inbetween-accent: #d72865;
    --inbetween-accent-dark: #a91f4d;
    --inbetween-ink: #2d2529;
    --inbetween-muted: #6f6268;
}

body.inbetween-five-rounds-page .inb-site-header {
    box-sizing: border-box;
    height: 84px;
    min-height: 84px;
    padding: 0 !important;
}

body.inbetween-five-rounds-page .elementor .inb-site-header__inner {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 84px;
    min-height: 84px;
    margin: 0 !important;
    padding: 0 40px !important;
}

body.inbetween-five-rounds-page .inb-brand a {
    color: var(--inbetween-ink) !important;
    font: 600 28px/38px "Noto Serif TC", serif !important;
}

body.inbetween-five-rounds-page :is(.inb-header-nav,.inb-header-cta),
body.inbetween-five-rounds-page .inb-site-footer { display: none !important; }

body.inbetween-five-rounds-page .inbetween-five-rounds-header-status {
    position: absolute;
    z-index: 20;
    top: 24px;
    right: 40px;
    display: flex;
    height: 36px;
    align-items: center;
    gap: 12px;
    color: var(--inbetween-ink);
    font: 500 14px/22px "Noto Sans TC", sans-serif;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-header-status__badge {
    display: inline-flex;
    width: 180px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--inbetween-success-bg);
    color: var(--inbetween-success);
}

body.inbetween-five-rounds-page .inbetween-five-rounds-header-status__badge .inbetween-dashboard-icon {
    width: 16px;
    height: 16px;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-header-status__mobile { display: none; }
body.inbetween-five-rounds-page .inb-account-shell { padding: 0 !important; background: var(--inbetween-canvas) !important; }
body.inbetween-five-rounds-page .elementor :is(.inb-dashboard-elementor-intro,.inb-story-elementor-intro) { display: none !important; }

body.inbetween-five-rounds-page .elementor .inb-account-shell__inner,
body.inbetween-five-rounds-page .inb-woo-widget,
body.inbetween-five-rounds-page .inb-woo-widget > .elementor-widget-container {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-five-rounds-page .elementor .inb-account-shell__inner { gap: 0 !important; }

body.inbetween-five-rounds-page .elementor .inb-experience-elementor-intro {
    position: absolute;
    z-index: 2;
    top: 64px;
    left: 428px;
    display: grid !important;
    width: 948px !important;
    max-width: 948px !important;
    height: 138px;
    grid-template-rows: 18px 46px 26px;
    row-gap: 24px;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-five-rounds-page .inb-experience-elementor-intro > .elementor-element,
body.inbetween-five-rounds-page .inb-experience-elementor-intro .elementor-widget,
body.inbetween-five-rounds-page .inb-experience-elementor-intro .elementor-widget-container {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-five-rounds-page .inb-experience-elementor-intro .inbetween-eyebrow .elementor-heading-title {
    margin: 0;
    color: var(--inbetween-accent-dark);
    font: 500 12px/18px "Noto Sans TC", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

body.inbetween-five-rounds-page .inb-experience-elementor-intro h1.elementor-heading-title {
    margin: 0;
    color: var(--inbetween-ink);
    font: 600 36px/46px "Noto Serif TC", serif;
    letter-spacing: -.2px;
}

body.inbetween-five-rounds-page .inb-experience-elementor-intro .elementor-widget-text-editor,
body.inbetween-five-rounds-page .inb-experience-elementor-intro .elementor-widget-text-editor p {
    margin: 0;
    color: var(--inbetween-muted);
    font: 400 16px/26px "Noto Sans TC", sans-serif;
}

body.inbetween-five-rounds-page.woocommerce-account.logged-in .inb-woo-widget .woocommerce {
    display: grid !important;
    grid-template-columns: 364px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 1036px;
    margin: 0 !important;
    background: linear-gradient(to right, #fff 0 364px, var(--inbetween-canvas) 364px);
}

body.inbetween-five-rounds-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 1;
    width: 364px !important;
    max-width: 364px !important;
    margin: 0 !important;
    padding: 32px 32px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation::before {
    display: block;
    margin: 0 0 12px;
    color: var(--inbetween-tertiary);
    content: "會員中心";
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

body.inbetween-five-rounds-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    width: 300px !important;
    flex-direction: column;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation li {
    display: block;
    order: 10;
    width: 300px;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--dashboard { order: 1; }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--my-story { order: 2; }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--experience { order: 3; }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--orders { order: 4; }

body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex !important;
    box-sizing: border-box;
    width: 300px !important;
    min-height: 44px !important;
    align-items: center;
    gap: 12px;
    padding: 11px 12px 11px 44px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--inbetween-ink) !important;
    font: 500 14px/22px "Noto Sans TC", sans-serif !important;
    text-decoration: none;
}

body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation a::before {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 20px;
    height: 20px;
    background: center / contain no-repeat url("icons/dashboard/home.svg");
    content: "";
}

body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--my-story a::before { background-image: url("icons/dashboard/pencil.svg"); }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--experience a::before { background-image: url("icons/dashboard/people.svg"); }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation-link--orders a::before { background-image: url("icons/dashboard/receipt.svg"); }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation .is-active a { background: var(--inbetween-soft) !important; color: var(--inbetween-accent-dark) !important; }
body.inbetween-five-rounds-page .woocommerce-MyAccount-navigation .is-active a::after {
    margin-left: auto;
    content: "目前";
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-help {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 2;
    width: 300px;
    height: 146px;
    margin: 12px 32px 0;
    padding: 20px;
    border-radius: 12px;
    background: var(--inbetween-soft);
}

body.inbetween-five-rounds-page .inbetween-five-rounds-help :is(strong,p) { display: block; margin: 0 0 8px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-help strong { font-size: 14px; line-height: 22px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-help p { color: var(--inbetween-muted); font-size: 12px; line-height: 18px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-help .button {
    display: flex;
    width: 260px;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--inbetween-accent-dark) !important;
    font-size: 14px;
    font-weight: 500;
}

body.inbetween-five-rounds-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-content {
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100% !important;
    min-width: 0;
    min-height: 1036px;
    padding: 222px 64px 64px !important;
    background: var(--inbetween-canvas) !important;
}

body.inbetween-five-rounds-page .inbetween-experience--five-rounds,
body.inbetween-five-rounds-page .inbetween-five-rounds {
    width: 948px !important;
    max-width: 948px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-five-rounds-page .inbetween-five-rounds {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-progress {
    display: grid;
    box-sizing: border-box;
    width: 948px;
    height: 108px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 16px 0;
    list-style: none;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-progress li {
    display: grid;
    box-sizing: border-box;
    height: 76px;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--inbetween-border);
    border-radius: 12px;
    background: #fff;
    color: var(--inbetween-muted);
}

body.inbetween-five-rounds-page .inbetween-five-rounds-progress__number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--inbetween-border-strong);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-progress__copy { display: flex; min-width: 0; flex-direction: column; }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress__copy strong { color: inherit; font-size: 14px; font-weight: 500; line-height: 22px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress__copy small { overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress__mark { width: 16px; height: 16px; border-radius: 50%; }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress li.is-complete { border-color: #b7dec5; color: var(--inbetween-success); }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress li.is-complete .inbetween-five-rounds-progress__number { border-color: var(--inbetween-success); background: var(--inbetween-success-bg); }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress li.is-current { border-color: var(--inbetween-accent); background: var(--inbetween-soft); color: var(--inbetween-accent-dark); }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress li.is-current .inbetween-five-rounds-progress__number { border-color: var(--inbetween-accent); background: #fff; }
body.inbetween-five-rounds-page .inbetween-five-rounds-progress li.is-current .inbetween-five-rounds-progress__mark { background: var(--inbetween-accent); }

body.inbetween-five-rounds-page .inbetween-five-rounds-current {
    display: grid;
    width: 948px;
    min-height: 410px;
    grid-template-columns: 610px 314px;
    gap: 24px;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-question,
body.inbetween-five-rounds-page .inbetween-five-rounds-case {
    box-sizing: border-box;
    min-height: 410px;
    border-radius: 16px;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-question {
    display: flex;
    width: 610px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--inbetween-border);
    background: #fff;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-badge {
    display: inline-flex;
    width: 180px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--inbetween-soft);
    color: var(--inbetween-accent-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-badge.is-waiting { background: var(--inbetween-warning-bg); color: var(--inbetween-warning); }
body.inbetween-five-rounds-page .inbetween-five-rounds-badge.is-complete { background: var(--inbetween-success-bg); color: var(--inbetween-success); }
body.inbetween-five-rounds-page .inbetween-five-rounds-question h2 {
    width: 552px;
    margin: 0 !important;
    color: var(--inbetween-ink);
    font: 600 28px/38px "Noto Serif TC", serif !important;
}
body.inbetween-five-rounds-page .inbetween-five-rounds-question > p {
    width: 552px;
    margin: 0 !important;
    color: var(--inbetween-muted);
    font: 400 16px/26px "Noto Sans TC", sans-serif;
}

body.inbetween-five-rounds-page .inbetween-five-rounds-compose { width: 100%; margin-top: auto; }
body.inbetween-five-rounds-page .inbetween-five-rounds-compose > summary {
    display: flex;
    box-sizing: border-box;
    width: 210px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--inbetween-accent-dark);
    border-radius: 8px;
    background: var(--inbetween-accent-dark);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    list-style: none;
}
body.inbetween-five-rounds-page .inbetween-five-rounds-compose > summary::-webkit-details-marker { display: none; }
body.inbetween-five-rounds-page .inbetween-five-rounds-compose > summary .inbetween-dashboard-icon { width: 20px; height: 20px; filter: brightness(0) invert(1); }
body.inbetween-five-rounds-page .inbetween-five-rounds-compose[open] > summary { margin-bottom: 20px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-compose form { display: grid; gap: 16px; margin: 0; }
body.inbetween-five-rounds-page .inbetween-five-rounds-compose textarea { min-height: 144px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-question__submitted { width: 100%; padding: 16px; border-radius: 12px; background: var(--inbetween-warning-bg); }
body.inbetween-five-rounds-page .inbetween-five-rounds-question__submitted :is(strong,p) { margin: 0; }

body.inbetween-five-rounds-page .inbetween-five-rounds-case {
    display: flex;
    width: 314px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: var(--inbetween-soft);
}
body.inbetween-five-rounds-page .inbetween-five-rounds-case__label { color: var(--inbetween-accent-dark); font-size: 12px; font-weight: 500; line-height: 18px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case h2 { margin: 0 !important; font: 600 22px/30px "Noto Serif TC", serif !important; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case .inbetween-status-badge { min-height: 28px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case dl { display: grid; width: 100%; gap: 12px; margin: 4px 0 0; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case dl div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case :is(dt,dd) { margin: 0; font-size: 13px; line-height: 20px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case dt { color: var(--inbetween-muted); }
body.inbetween-five-rounds-page .inbetween-five-rounds-case dd { color: var(--inbetween-ink); font-weight: 500; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case > p { display: flex; gap: 8px; margin: auto 0 0; color: var(--inbetween-muted); font-size: 12px; line-height: 18px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-case > p .inbetween-dashboard-icon { width: 18px; height: 18px; }

body.inbetween-five-rounds-page .inbetween-five-rounds-history {
    box-sizing: border-box;
    width: 948px;
    min-height: 156px;
    border: 1px solid var(--inbetween-border);
    border-radius: 16px;
    background: #fff;
}
body.inbetween-five-rounds-page .inbetween-five-rounds-history > summary {
    display: flex;
    box-sizing: border-box;
    min-height: 154px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
}
body.inbetween-five-rounds-page .inbetween-five-rounds-history > summary::-webkit-details-marker { display: none; }
body.inbetween-five-rounds-page .inbetween-five-rounds-history__copy { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-history__copy strong { color: var(--inbetween-ink); font: 600 18px/26px "Noto Serif TC", serif; }
body.inbetween-five-rounds-page .inbetween-five-rounds-history__copy > span { display: -webkit-box; overflow: hidden; color: var(--inbetween-muted); font-size: 14px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.inbetween-five-rounds-page .inbetween-five-rounds-history__action { flex: 0 0 auto; color: var(--inbetween-accent-dark); font-size: 14px; font-weight: 500; }
body.inbetween-five-rounds-page .inbetween-five-rounds-records { display: grid; gap: 20px; padding: 0 24px 24px; }
body.inbetween-five-rounds-page .inbetween-five-rounds-records > article { padding-top: 20px; border-top: 1px solid var(--inbetween-border); }
body.inbetween-five-rounds-page .inbetween-five-rounds-records h3 { margin: 0 0 12px; }

body.inbetween-five-rounds-page .inbetween-five-rounds-privacy { display: none; }

@media (max-width: 767px) {
    body.inbetween-five-rounds-page .inb-site-header,
    body.inbetween-five-rounds-page .elementor .inb-site-header__inner { height: 64px; min-height: 64px; }
    body.inbetween-five-rounds-page .elementor .inb-site-header__inner { padding: 0 24px !important; }
    body.inbetween-five-rounds-page .inb-brand a { font-size: 22px !important; line-height: 30px !important; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-header-status { top: 20px; right: 24px; width: 24px; height: 24px; }
    body.inbetween-five-rounds-page :is(.inbetween-five-rounds-header-status__badge,.inbetween-five-rounds-header-status__name) { display: none; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-header-status__mobile { display: block; width: 24px; height: 24px; background: center / contain no-repeat url("icons/dashboard/people.svg"); }

    body.inbetween-five-rounds-page .elementor .inb-experience-elementor-intro {
        position: static;
        box-sizing: border-box;
        display: grid !important;
        width: 100% !important;
        max-width: none !important;
        height: 112px;
        grid-template-rows: 18px 38px 18px;
        row-gap: 2px;
        padding: 18px 24px 16px !important;
        background: var(--inbetween-soft);
    }
    body.inbetween-five-rounds-page .inb-experience-elementor-intro h1.elementor-heading-title { font-size: 28px; line-height: 38px; }
    body.inbetween-five-rounds-page .inb-experience-elementor-intro .elementor-widget-text-editor,
    body.inbetween-five-rounds-page .inb-experience-elementor-intro .elementor-widget-text-editor p { font-size: 12px; line-height: 18px; }

    body.inbetween-five-rounds-page.woocommerce-account.logged-in .inb-woo-widget .woocommerce {
        display: block !important;
        width: 100% !important;
        min-height: 0;
        background: var(--inbetween-canvas);
    }
    body.inbetween-five-rounds-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation,
    body.inbetween-five-rounds-page .inbetween-five-rounds-help { display: none !important; }
    body.inbetween-five-rounds-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-content { width: 100% !important; min-height: 0; padding: 0 !important; }
    body.inbetween-five-rounds-page .inbetween-experience--five-rounds,
    body.inbetween-five-rounds-page .inbetween-five-rounds { width: 100% !important; max-width: none !important; }
    body.inbetween-five-rounds-page .inbetween-five-rounds { gap: 0; }

    body.inbetween-five-rounds-page .inbetween-five-rounds-progress {
        order: 1;
        width: 390px;
        height: 352px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 62px);
        gap: 6px;
        padding: 9px 24px;
    }
    body.inbetween-five-rounds-page .inbetween-five-rounds-progress li { width: 342px; height: 62px; grid-template-columns: 32px minmax(0, 1fr) 12px; gap: 10px; padding: 10px 12px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-progress__number { width: 32px; height: 32px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-progress__copy { flex-direction: row; align-items: center; justify-content: space-between; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-progress__copy small { font-size: 12px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-progress__mark { width: 12px; height: 12px; }

    body.inbetween-five-rounds-page .inbetween-five-rounds-current { order: 2; display: block; width: 390px; min-height: 252px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-question { width: 390px; min-height: 252px; gap: 10px; padding: 20px 24px; border: 0; border-radius: 0; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-badge { width: 180px; height: 36px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-question h2 { width: 342px; font-size: 22px !important; line-height: 30px !important; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-question > p { width: 342px; font-size: 14px; line-height: 22px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-compose { margin-top: auto; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-compose > summary { width: 342px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-case { display: none; }

    body.inbetween-five-rounds-page .inbetween-five-rounds-privacy {
        order: 3;
        display: flex;
        box-sizing: border-box;
        width: 390px;
        min-height: 64px;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 14px 24px;
        background: var(--inbetween-soft);
    }
    body.inbetween-five-rounds-page .inbetween-five-rounds-privacy .inbetween-dashboard-icon { width: 20px; height: 20px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-privacy p { margin: 0; color: var(--inbetween-muted); font-size: 12px; line-height: 18px; }

    body.inbetween-five-rounds-page .inbetween-five-rounds-history { order: 4; width: 342px; min-height: 120px; margin: 20px 24px 32px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-history > summary { min-height: 118px; gap: 12px; padding: 18px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-history__copy > span { -webkit-line-clamp: 2; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-history__action { font-size: 12px; }
    body.inbetween-five-rounds-page .inbetween-five-rounds-records { padding: 0 18px 18px; }
}

.inbetween-member,
.inbetween-verification-required,
.inbetween-story,
.inbetween-experience,
.inbetween-public-cases,
.woocommerce-account .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce,
.single-product .product {
    color: var(--inbetween-ink);
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    font-size: 1rem;
    line-height: 1.625;
}

:is(.inbetween-member, .inbetween-story, .inbetween-experience, .inbetween-public-cases) :is(h1, h2, h3),
.woocommerce :is(h1, h2, h3),
.woocommerce div.product .product_title {
    margin-block: 0 0.75rem;
    color: var(--inbetween-ink);
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.inbetween-member,
.inbetween-verification-required,
.inbetween-story,
.inbetween-experience {
    box-sizing: border-box;
    max-width: var(--inbetween-content);
}

.inbetween-member,
.inbetween-verification-required,
.inbetween-story-images,
.inbetween-payment,
.inbetween-round {
    margin-block: 1rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--inbetween-border);
    border-radius: var(--inbetween-radius-xl);
    background: var(--inbetween-white);
    box-shadow: var(--inbetween-shadow-card);
}

.inbetween-story-form,
.inbetween-payment form,
.inbetween-round form,
.inbetween-story-image-upload,
.inbetween-verification-resend {
    display: grid;
    gap: 1rem;
}

.inbetween-story-field label,
.inbetween-payment label,
.inbetween-round label,
.inbetween-story-image-upload label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--inbetween-ink-soft);
    font-size: 0.875rem;
    font-weight: 700;
}

.inbetween-story :is(input[type="text"], select, textarea),
.inbetween-experience :is(input[type="text"], input[type="date"], textarea, input[type="file"]),
.woocommerce :is(input.input-text, textarea, select) {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.6875rem 0.875rem;
    border: 1px solid var(--inbetween-border-strong);
    border-radius: var(--inbetween-radius-md);
    background: var(--inbetween-white);
    color: var(--inbetween-ink);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.inbetween-story textarea,
.inbetween-experience textarea {
    min-height: 9rem;
    resize: vertical;
}

:is(.inbetween-story, .inbetween-experience, .inbetween-member, .inbetween-verification-required, .inbetween-public-cases, .woocommerce)
    :is(input, select, textarea, button, a):focus-visible {
    outline: 3px solid var(--inbetween-accent);
    outline-offset: 2px;
}

:is(.inbetween-story, .inbetween-experience, .inbetween-member, .inbetween-verification-required) .button,
.woocommerce :is(.button, button.button, input.button) {
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--inbetween-accent);
    border-radius: 999px;
    background: var(--inbetween-white);
    color: var(--inbetween-accent-dark);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.woocommerce .password-input input {
    padding-right: 3.5rem;
}

.woocommerce .show-password-input {
    display: inline-flex;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
}

:is(.inbetween-story, .inbetween-experience) .button.alt,
.woocommerce :is(.button.alt, button.button.alt, #place_order) {
    border-color: var(--inbetween-accent-dark);
    background: var(--inbetween-accent-dark);
    color: var(--inbetween-white);
}

:is(.inbetween-story, .inbetween-experience, .inbetween-member, .inbetween-verification-required) .button:hover,
.woocommerce :is(.button, button.button, input.button):hover {
    border-color: var(--inbetween-accent-deep);
    background: var(--inbetween-accent-deep);
    color: var(--inbetween-white);
}

.inbetween-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.inbetween-story-autosave-status,
.inbetween-verification-status,
.inbetween-round small {
    color: var(--inbetween-muted);
    font-size: 0.875rem;
}

.inbetween-verification-status {
    display: inline-flex;
    min-height: 1.75rem;
    align-items: center;
    padding-inline: 0.75rem;
    border-radius: 999px;
    font-weight: 700;
}

.inbetween-verification-status--verified {
    background: var(--inbetween-success-bg);
    color: var(--inbetween-success);
}

.inbetween-verification-status--unverified,
.inbetween-verification-status--required {
    background: var(--inbetween-warning-bg);
    color: var(--inbetween-warning);
}

.inbetween-story-images-list,
.inbetween-round-images ul {
    padding-left: 1.25rem;
}

.inbetween-story-image-delete {
    display: inline;
}

.inbetween-round-image-delete {
    display: inline;
}

.inbetween-round-image-upload {
    display: grid;
    gap: 0.75rem;
}

.inbetween-account-intro {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.inbetween-account-intro > :last-child {
    margin-bottom: 0;
}

.inbetween-account-intro--auth {
    max-width: 46rem;
}

.inbetween-eyebrow,
.inbetween-meta-label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--inbetween-accent-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.inbetween-account-intro :is(h1, h2),
.inbetween-member-title,
.inbetween-story-title,
.inbetween-experience-title,
.inbetween-payment-title,
.inbetween-rounds-title {
    text-wrap: balance;
}

.inbetween-account-dashboard,
.inbetween-story,
.inbetween-experience {
    width: 100%;
    max-width: var(--inbetween-wide);
}

.inbetween-member-identity,
.inbetween-rounds-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-block: 1.5rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--inbetween-border);
    border-radius: var(--inbetween-radius-xl);
    background: var(--inbetween-subtle);
}

.inbetween-member-identity strong,
.inbetween-rounds-summary strong {
    display: block;
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.inbetween-member-identity small {
    display: block;
    color: var(--inbetween-muted);
}

.inbetween-status-badge {
    display: inline-flex;
    min-height: 1.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--inbetween-subtle);
    color: var(--inbetween-ink-soft);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.inbetween-status-badge.is-success {
    background: var(--inbetween-success-bg);
    color: var(--inbetween-success);
}

.inbetween-status-badge.is-warning {
    background: var(--inbetween-warning-bg);
    color: var(--inbetween-warning);
}

.inbetween-status-badge.is-error {
    background: var(--inbetween-error-bg);
    color: var(--inbetween-error);
}

.inbetween-verification-panel,
.inbetween-waiting-panel,
.inbetween-empty-state,
.inbetween-private-record,
.inbetween-privacy-note {
    margin-block: 1rem;
    padding: 1rem;
    border: 1px solid var(--inbetween-border);
    border-radius: var(--inbetween-radius-lg);
    background: var(--inbetween-soft);
}

.inbetween-verification-panel {
    display: grid;
    gap: 0.75rem;
    border-color: #f2d5a9;
    background: var(--inbetween-warning-bg);
}

.inbetween-verification-panel > :is(h2, p),
.inbetween-empty-state > :is(h2, h3, p),
.inbetween-waiting-panel > :is(h3, p),
.inbetween-private-record > :is(h4, p),
.inbetween-privacy-note > :is(strong, p) {
    margin-block: 0;
}

.inbetween-dashboard-cards,
.inbetween-payment-list,
.inbetween-round-history {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-block: 1.5rem;
}

.inbetween-dashboard-card,
.inbetween-story-card,
.inbetween-story-aside,
.inbetween-flow-section,
.inbetween-payment,
.inbetween-round {
    box-sizing: border-box;
    border: 1px solid var(--inbetween-border);
    border-radius: var(--inbetween-radius-xl);
    background: var(--inbetween-white);
    box-shadow: var(--inbetween-shadow-card);
}

.inbetween-dashboard-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
}

.inbetween-dashboard-card :is(h2, p) {
    margin-block: 0;
}

.inbetween-dashboard-card p {
    flex: 1;
    color: var(--inbetween-muted);
}

.inbetween-story-layout,
.inbetween-rounds-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
    align-items: start;
    gap: 1.25rem;
}

.inbetween-story-card,
.inbetween-story-aside,
.inbetween-flow-section {
    padding: clamp(1rem, 3vw, 1.5rem);
}

.inbetween-story-card > :last-child,
.inbetween-story-aside > :last-child,
.inbetween-flow-section > :last-child {
    margin-bottom: 0;
}

.inbetween-story-autosave {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-block: 0.25rem 1rem;
}

.inbetween-story-form[aria-busy="true"] {
    opacity: 0.72;
}

.inbetween-story-form button:disabled {
    cursor: progress;
}

.inbetween-flow-section {
    margin-block: 1.25rem;
}

.inbetween-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.inbetween-payment-list,
.inbetween-round-history {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inbetween-payment,
.inbetween-round {
    min-width: 0;
    margin: 0;
}

.inbetween-payment form,
.inbetween-round form {
    margin-top: 1rem;
}

.inbetween-privacy-note {
    border-color: #d9cfec;
    background: #f8f5fc;
    color: var(--inbetween-ink-soft);
    font-size: 0.875rem;
}

.inbetween-waiting-panel {
    border-color: #f2d5a9;
    background: var(--inbetween-warning-bg);
}

.inbetween-private-record--reply {
    border-color: #b7dec5;
    background: var(--inbetween-success-bg);
}

.inbetween-rounds-layout {
    grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 2fr);
}

.inbetween-round-progress {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inbetween-round-progress li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--inbetween-border);
    border-radius: var(--inbetween-radius-lg);
    background: var(--inbetween-white);
    color: var(--inbetween-muted);
}

.inbetween-round-progress li::before {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--inbetween-border-strong);
    border-radius: 50%;
    content: attr(data-round);
    font-weight: 800;
}

.inbetween-round-progress li.is-current {
    border-color: var(--inbetween-accent);
    background: var(--inbetween-soft);
    color: var(--inbetween-accent-dark);
}

.inbetween-round-progress li.is-complete {
    border-color: #b7dec5;
    color: var(--inbetween-success);
}

.inbetween-round-progress li.is-complete::before {
    border-color: var(--inbetween-success);
    background: var(--inbetween-success-bg);
    content: "✓";
}

.inbetween-round-images ul {
    display: grid;
    gap: 0.5rem;
}

.woocommerce-account:not(.logged-in) #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.woocommerce-account:not(.logged-in) #customer_login :is(.u-column1, .u-column2) {
    box-sizing: border-box;
    width: auto;
    float: none;
}

.woocommerce-account:not(.logged-in) #customer_login form {
    margin: 0;
    padding: 0;
    border: 0;
}

.woocommerce-account.logged-in .woocommerce {
    display: grid;
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: 1.5rem;
    max-width: var(--inbetween-wide);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 0.375rem;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid var(--inbetween-border);
    border-radius: var(--inbetween-radius-xl);
    background: var(--inbetween-white);
    box-shadow: var(--inbetween-shadow-card);
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.625rem 0.75rem;
    border-radius: var(--inbetween-radius-md);
    color: var(--inbetween-ink-soft);
    font-weight: 700;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: var(--inbetween-soft);
    color: var(--inbetween-accent-dark);
}

.woocommerce-account .woocommerce-MyAccount-content {
    min-width: 0;
}

.woocommerce-account .woocommerce-MyAccount-content:has(> .inbetween-account-dashboard) > p:not([class]) {
    display: none;
}

.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    margin-block: 1rem;
    padding: 1rem;
    border: 1px solid var(--inbetween-border);
    border-top-width: 1px;
    border-radius: var(--inbetween-radius-lg);
    background: var(--inbetween-soft);
    color: var(--inbetween-ink-soft);
}

.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
    display: none;
}

.woocommerce .woocommerce-message {
    border-color: #b7dec5;
    background: var(--inbetween-success-bg);
}

.woocommerce .woocommerce-error {
    border-color: #f0c1bd;
    background: var(--inbetween-error-bg);
}

@media (max-width: 767px) {
    .inbetween-member,
    .inbetween-verification-required,
    .inbetween-story-images,
    .inbetween-payment,
    .inbetween-round {
        padding: 1rem;
        border-radius: var(--inbetween-radius-lg);
    }

    .inbetween-story-actions,
    .inbetween-story-actions .button,
    .inbetween-experience .button,
    .inbetween-member .button,
    .inbetween-verification-required .button {
        width: 100%;
    }

    .inbetween-dashboard-cards,
    .inbetween-payment-list,
    .inbetween-round-history,
    .inbetween-story-layout,
    .inbetween-rounds-layout,
    .woocommerce-account:not(.logged-in) #customer_login,
    .woocommerce-account.logged-in .woocommerce {
        grid-template-columns: minmax(0, 1fr);
    }

    .inbetween-member-identity,
    .inbetween-rounds-summary,
    .inbetween-card-heading,
    .inbetween-story-autosave {
        align-items: flex-start;
        flex-direction: column;
    }

    .inbetween-round-progress {
        position: static;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .inbetween-round-progress li {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-items: center;
        gap: 0.25rem;
        padding: 0.5rem 0.25rem;
        text-align: center;
    }

    .inbetween-round-progress li :is(strong, span) {
        display: none;
    }

    .inbetween-round-progress li::after {
        content: "第 " attr(data-round) " 輪";
        font-size: 0.625rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phase 18 — Figma 46:2 / 46:109, scoped to the Account dashboard only. */
.inb-dashboard-elementor-intro { display: none; }

body.inbetween-dashboard-page {
    --inbetween-accent: #d72865;
    --inbetween-accent-dark: #a91f4d;
    --inbetween-ink: #2d2529;
    --inbetween-muted: #6f6268;
}

body.inbetween-dashboard-page .inb-site-header {
    box-sizing: border-box;
    height: 84px;
    min-height: 84px;
    padding: 0 !important;
}

body.inbetween-dashboard-page .elementor .inb-site-header__inner {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 84px;
    min-height: 84px;
    margin: 0 !important;
    padding: 0 40px !important;
}

body.inbetween-dashboard-page .inb-brand a {
    color: var(--inbetween-ink) !important;
    font: 600 28px/38px "Noto Serif TC", serif !important;
}

body.inbetween-dashboard-page :is(.inb-header-nav,.inb-header-cta) { display: none !important; }
body.inbetween-dashboard-page .inb-site-footer { display: none !important; }

body.inbetween-dashboard-page .inbetween-dashboard-header-status {
    position: absolute;
    z-index: 20;
    top: 24px;
    right: 40px;
    display: flex;
    height: 36px;
    align-items: center;
    gap: 12px;
    color: var(--inbetween-ink);
    font: 500 14px/22px "Noto Sans TC", sans-serif;
}

body.inbetween-dashboard-page .inbetween-dashboard-header-status__badge {
    display: inline-flex;
    width: 180px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--inbetween-success-bg);
    color: var(--inbetween-success);
}

body.inbetween-dashboard-page .inbetween-dashboard-header-status__badge .inbetween-dashboard-icon {
    width: 16px;
    height: 16px;
}

body.inbetween-dashboard-page .inbetween-dashboard-header-status__mobile { display: none; }
body.inbetween-dashboard-page .inb-account-shell { padding: 0 !important; background: var(--inbetween-canvas) !important; }
body.inbetween-dashboard-page .elementor .inb-story-elementor-intro { display: none !important; }

body.inbetween-dashboard-page .elementor .inb-account-shell__inner,
body.inbetween-dashboard-page .inb-woo-widget,
body.inbetween-dashboard-page .inb-woo-widget > .elementor-widget-container {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-dashboard-page .elementor .inb-account-shell__inner { gap: 0 !important; }

body.inbetween-dashboard-page .elementor .inb-dashboard-elementor-intro {
    position: absolute;
    z-index: 2;
    top: 64px;
    left: 428px;
    display: grid;
    width: 948px !important;
    max-width: 948px !important;
    height: 138px;
    grid-template-rows: 18px 46px 26px;
    row-gap: 24px;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-dashboard-page .inb-dashboard-elementor-intro > .elementor-element,
body.inbetween-dashboard-page .inb-dashboard-elementor-intro .elementor-widget,
body.inbetween-dashboard-page .inb-dashboard-elementor-intro .elementor-widget-container {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-dashboard-page .inb-dashboard-elementor-intro .inbetween-eyebrow .elementor-heading-title {
    margin: 0;
    color: var(--inbetween-accent-dark);
    font: 500 12px/18px "Noto Sans TC", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

body.inbetween-dashboard-page .inbetween-dashboard-greeting {
    margin: 0;
    color: var(--inbetween-ink);
    font: 600 36px/46px "Noto Serif TC", serif;
    letter-spacing: -.2px;
}

body.inbetween-dashboard-page .inb-dashboard-elementor-intro .elementor-widget-text-editor,
body.inbetween-dashboard-page .inb-dashboard-elementor-intro .elementor-widget-text-editor p {
    margin: 0;
    color: var(--inbetween-muted);
    font: 400 16px/26px "Noto Sans TC", sans-serif;
}

body.inbetween-dashboard-page.woocommerce-account.logged-in .inb-woo-widget .woocommerce {
    display: grid !important;
    grid-template-columns: 364px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 1036px;
    margin: 0 !important;
    background: linear-gradient(to right, #fff 0 364px, var(--inbetween-canvas) 364px);
}

body.inbetween-dashboard-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 1;
    width: 364px !important;
    max-width: 364px !important;
    margin: 0 !important;
    padding: 32px 32px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation::before {
    display: block;
    margin: 0 0 12px;
    color: var(--inbetween-tertiary);
    content: "會員中心";
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

body.inbetween-dashboard-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    width: 300px !important;
    flex-direction: column;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation li {
    display: block;
    order: 10;
    width: 300px;
    margin: 0 !important;
    padding: 0 !important;
}

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--dashboard { order: 1; }
body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--my-story { order: 2; }
body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--experience { order: 3; }
body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--orders { order: 4; }

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex !important;
    box-sizing: border-box;
    width: 300px !important;
    min-height: 44px !important;
    align-items: center;
    gap: 12px;
    padding: 11px 12px 11px 44px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--inbetween-ink) !important;
    font: 500 14px/22px "Noto Sans TC", sans-serif !important;
    text-decoration: none;
}

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation a::before {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 20px;
    height: 20px;
    background: center / contain no-repeat url("icons/dashboard/home.svg");
    content: "";
}

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--my-story a::before { background-image: url("icons/dashboard/pencil.svg"); }
body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--experience a::before { background-image: url("icons/dashboard/people.svg"); }
body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--orders a::before { background-image: url("icons/dashboard/receipt.svg"); }

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation .is-active a {
    background: var(--inbetween-soft) !important;
    color: var(--inbetween-accent-dark) !important;
}

body.inbetween-dashboard-page .woocommerce-MyAccount-navigation .is-active a::after {
    margin-left: auto;
    content: "目前";
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

body.inbetween-dashboard-page .inbetween-dashboard-help {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 2;
    width: 300px;
    height: 146px;
    margin: 12px 32px 0;
    padding: 20px;
    border-radius: 12px;
    background: var(--inbetween-soft);
}

body.inbetween-dashboard-page .inbetween-dashboard-help :is(strong,p) {
    display: block;
    margin: 0 0 8px;
}

body.inbetween-dashboard-page .inbetween-dashboard-help strong { font-size: 14px; line-height: 22px; }
body.inbetween-dashboard-page .inbetween-dashboard-help p { color: var(--inbetween-muted); font-size: 12px; line-height: 18px; }

body.inbetween-dashboard-page .inbetween-dashboard-help .button {
    display: flex;
    width: 260px;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--inbetween-accent-dark) !important;
    font-size: 14px;
    font-weight: 500;
}

body.inbetween-dashboard-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-content {
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100% !important;
    min-width: 0;
    min-height: 1036px;
    padding: 226px 64px 64px !important;
    background: var(--inbetween-canvas) !important;
}

body.inbetween-dashboard-page .inbetween-account-dashboard {
    display: flex;
    width: 948px !important;
    max-width: 948px !important;
    flex-direction: column;
    gap: 24px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.inbetween-dashboard-page .inbetween-account-dashboard > :is(.inbetween-account-intro,.inbetween-member-identity) {
    display: none !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-next {
    box-sizing: border-box;
    display: flex;
    width: 948px;
    height: 118px;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: var(--inbetween-soft);
}

body.inbetween-dashboard-page .inbetween-dashboard-next > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

body.inbetween-dashboard-page .inbetween-dashboard-next :is(strong,p) {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
}

body.inbetween-dashboard-page .inbetween-dashboard-next strong { color: var(--inbetween-accent-dark); font-weight: 500; }
body.inbetween-dashboard-page .inbetween-dashboard-next p { color: var(--inbetween-ink); }

body.inbetween-dashboard-page .inbetween-dashboard-case {
    box-sizing: border-box;
    display: flex;
    width: 948px;
    height: 276px;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--inbetween-border);
    border-radius: 16px;
    background: #fff;
}

body.inbetween-dashboard-page .inbetween-dashboard-case > header {
    display: flex;
    width: 892px;
    height: 36px;
    align-items: center;
    justify-content: space-between;
}

body.inbetween-dashboard-page .inbetween-dashboard-case-no {
    color: var(--inbetween-tertiary);
    font-size: 12px;
    line-height: 18px;
}

.inbetween-dashboard-case-no__mobile,
.inbetween-dashboard-round-badge__mobile,
.inbetween-dashboard-case-copy__mobile,
.inbetween-dashboard-card-status__mobile { display: none; }

body.inbetween-dashboard-page .inbetween-dashboard-round-badge {
    display: inline-flex;
    width: 180px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--inbetween-soft);
    color: var(--inbetween-accent-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

body.inbetween-dashboard-page .inbetween-dashboard-round-badge .inbetween-dashboard-icon { width: 16px; height: 16px; }

body.inbetween-dashboard-page .inbetween-dashboard-case h2 {
    width: 892px;
    margin: 0 !important;
    color: var(--inbetween-ink);
    font: 600 28px/38px "Noto Serif TC", serif !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-case > p {
    width: 892px;
    margin: 0 !important;
    color: var(--inbetween-muted);
    font: 400 16px/26px "Noto Sans TC", sans-serif;
}

body.inbetween-dashboard-page .inbetween-dashboard-case-actions {
    display: flex;
    width: 420px;
    height: 44px;
    gap: 12px;
}

body.inbetween-dashboard-page .inbetween-dashboard-case-actions .button,
body.inbetween-dashboard-page .inbetween-dashboard-card .button {
    display: flex !important;
    box-sizing: border-box;
    height: 44px !important;
    min-height: 44px !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 22px !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-case-actions .button:first-child {
    width: 196px;
    border: 1px solid var(--inbetween-accent-dark) !important;
    background: var(--inbetween-accent-dark) !important;
    color: #fff !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-case-actions .inbetween-dashboard-secondary {
    width: 212px;
    border: 1px solid var(--inbetween-accent) !important;
    background: #fff !important;
    color: var(--inbetween-accent-dark) !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-cards {
    display: grid !important;
    width: 948px;
    height: 210px;
    grid-template-columns: repeat(3, 302px) !important;
    gap: 20px !important;
    margin: 0 !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-card {
    box-sizing: border-box;
    display: flex;
    width: 302px;
    height: 210px;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px !important;
    overflow: hidden;
    border: 1px solid var(--inbetween-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-card h2 {
    width: 258px;
    margin: 0 !important;
    font: 600 22px/30px "Noto Serif TC", serif !important;
}

body.inbetween-dashboard-page .inbetween-dashboard-card p {
    width: 258px;
    margin: 0 !important;
    color: var(--inbetween-muted);
    font: 400 14px/22px "Noto Sans TC", sans-serif;
}

body.inbetween-dashboard-page .inbetween-dashboard-card .button {
    width: 258px;
    border: 0 !important;
    background: #fff !important;
    color: var(--inbetween-accent-dark) !important;
}

.inbetween-dashboard-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    background: center / contain no-repeat;
}

.inbetween-dashboard-icon--arrow { background-image: url("icons/dashboard/arrow-right.svg"); }
.inbetween-dashboard-icon--home { background-image: url("icons/dashboard/home.svg"); }
.inbetween-dashboard-icon--info { background-image: url("icons/dashboard/info.svg"); }
.inbetween-dashboard-icon--pencil { background-image: url("icons/dashboard/pencil.svg"); }
.inbetween-dashboard-icon--people { background-image: url("icons/dashboard/people.svg"); }
.inbetween-dashboard-icon--receipt { background-image: url("icons/dashboard/receipt.svg"); }
.inbetween-dashboard-icon--shield { background-image: url("icons/dashboard/shield.svg"); }
body.inbetween-dashboard-page .inbetween-dashboard-case-actions .inbetween-dashboard-icon,
body.inbetween-dashboard-page .inbetween-dashboard-card .button .inbetween-dashboard-icon,
body.inbetween-dashboard-page .inbetween-dashboard-help .inbetween-dashboard-icon { width: 20px; height: 20px; }

@media (max-width: 767px) {
    body.inbetween-dashboard-page .inb-site-header,
    body.inbetween-dashboard-page .elementor .inb-site-header__inner {
        height: 64px;
        min-height: 64px;
    }

    body.inbetween-dashboard-page .elementor .inb-site-header__inner { padding: 0 24px !important; }
    body.inbetween-dashboard-page .inb-brand a { font-size: 22px !important; line-height: 30px !important; }
    body.inbetween-dashboard-page .inbetween-dashboard-header-status {
        top: 20px;
        right: 24px;
        width: 24px;
        height: 24px;
    }
    body.inbetween-dashboard-page :is(.inbetween-dashboard-header-status__badge,.inbetween-dashboard-header-status__name) { display: none; }
    body.inbetween-dashboard-page .inbetween-dashboard-header-status__mobile {
        display: block;
        width: 24px;
        height: 24px;
        background: center / contain no-repeat url("icons/dashboard/people.svg");
    }

    body.inbetween-dashboard-page .elementor .inb-dashboard-elementor-intro {
        position: static;
        box-sizing: border-box;
        display: grid;
        width: 100% !important;
        max-width: none !important;
        height: 126px;
        grid-template-rows: 18px 38px 18px;
        row-gap: 4px;
        padding: 20px 24px 24px !important;
        background: var(--inbetween-soft);
    }

    body.inbetween-dashboard-page .inbetween-dashboard-greeting { font-size: 28px; line-height: 38px; }
    body.inbetween-dashboard-page .inb-dashboard-elementor-intro .elementor-widget-text-editor,
    body.inbetween-dashboard-page .inb-dashboard-elementor-intro .elementor-widget-text-editor p { font-size: 12px; line-height: 18px; }

    body.inbetween-dashboard-page.woocommerce-account.logged-in .inb-woo-widget .woocommerce {
        display: flex !important;
        width: 100% !important;
        min-height: 654px;
        flex-direction: column;
        background: var(--inbetween-canvas);
    }

    body.inbetween-dashboard-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-content {
        box-sizing: border-box;
        display: block;
        order: 1;
        width: 100% !important;
        height: 508px;
        min-height: 508px;
        padding: 18px 24px 36px !important;
    }

    body.inbetween-dashboard-page .inbetween-account-dashboard {
        width: 342px !important;
        max-width: 342px !important;
        gap: 12px;
    }

    body.inbetween-dashboard-page .inbetween-dashboard-next { display: none; }
    body.inbetween-dashboard-page .inbetween-dashboard-case {
        width: 342px;
        height: 244px;
        padding: 20px;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-case > header { width: 302px; height: 36px; }
    body.inbetween-dashboard-page .inbetween-dashboard-case-no__desktop,
    body.inbetween-dashboard-page .inbetween-dashboard-round-badge__desktop,
    body.inbetween-dashboard-page .inbetween-dashboard-case-copy__desktop,
    body.inbetween-dashboard-page .inbetween-dashboard-card-status__desktop { display: none; }
    body.inbetween-dashboard-page .inbetween-dashboard-case-no__mobile,
    body.inbetween-dashboard-page .inbetween-dashboard-round-badge__mobile,
    body.inbetween-dashboard-page .inbetween-dashboard-case-copy__mobile,
    body.inbetween-dashboard-page .inbetween-dashboard-card-status__mobile { display: inline; }
    body.inbetween-dashboard-page .inbetween-dashboard-round-badge { width: 180px; }
    body.inbetween-dashboard-page .inbetween-dashboard-case h2 {
        width: 302px;
        font-size: 22px !important;
        line-height: 30px !important;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-case > p {
        width: 302px;
        font-size: 14px;
        line-height: 22px;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-case-actions,
    body.inbetween-dashboard-page .inbetween-dashboard-case-actions .button:first-child { width: 302px; }
    body.inbetween-dashboard-page .inbetween-dashboard-case-actions .inbetween-dashboard-secondary { display: none !important; }

    body.inbetween-dashboard-page .inbetween-dashboard-cards {
        display: grid !important;
        width: 342px;
        height: 198px;
        grid-template-columns: repeat(2, 166px) !important;
        gap: 10px !important;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-card {
        width: 166px;
        height: 198px;
        gap: 12px;
        padding: 18px !important;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-card--private { display: none; }
    body.inbetween-dashboard-page .inbetween-dashboard-card h2 {
        width: 130px;
        font: 500 14px/22px "Noto Sans TC", sans-serif !important;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-card p {
        width: 130px;
        font-size: 12px;
        line-height: 18px;
    }
    body.inbetween-dashboard-page .inbetween-dashboard-card .button { width: 130px; }

    body.inbetween-dashboard-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation {
        box-sizing: border-box;
        display: block !important;
        order: 2;
        width: 100% !important;
        max-width: none !important;
        height: 146px;
        padding: 24px !important;
        background: #fff !important;
    }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation::before { display: none; }
    body.inbetween-dashboard-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        width: 342px !important;
        height: 80px;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0 !important;
    }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation li {
        display: block;
        width: 86px;
        height: 80px;
    }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation-link--orders { display: none !important; }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation a {
        display: flex !important;
        width: 86px !important;
        height: 80px;
        min-height: 80px !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 !important;
        border-radius: 12px !important;
        color: var(--inbetween-muted) !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation a::before {
        position: static;
        width: 20px;
        height: 20px;
    }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation .is-active a { color: var(--inbetween-accent-dark) !important; }
    body.inbetween-dashboard-page .woocommerce-MyAccount-navigation .is-active a::after { display: none; }
    body.inbetween-dashboard-page .inbetween-dashboard-help { display: none !important; }
}

/* Phase 17 — Figma 46:164 / 46:254, scoped to the Story endpoint only. */
.inb-story-elementor-intro { display: none; }

.inbetween-story-page .inb-account-shell {
    padding: 0 !important;
    background: var(--inbetween-canvas) !important;
}

.inbetween-story-page .inb-account-shell__inner,
.inbetween-story-page .inb-woo-widget,
.inbetween-story-page .inb-woo-widget > .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.inbetween-story-page .inb-account-shell__inner { position: relative; }
.inbetween-story-page .inb-story-elementor-intro {
    position: absolute;
    z-index: 2;
    top: 64px;
    left: 428px;
    display: flex;
    width: calc(100% - 492px) !important;
    max-width: 948px;
    flex-direction: column;
    gap: 0;
}
.inbetween-story-page .inb-story-elementor-intro > .elementor-element { width: 100%; }
.inbetween-story-page .inb-story-elementor-intro .inbetween-eyebrow .elementor-heading-title {
    margin: 0 0 21px;
    color: var(--inbetween-accent-dark);
    font: 500 12px/18px "Noto Sans TC", sans-serif;
}
.inbetween-story-page .inb-story-elementor-intro h1.elementor-heading-title {
    margin: 0 0 18px;
    color: var(--inbetween-ink);
    font: 600 36px/46px "Noto Serif TC", serif;
    letter-spacing: -.2px;
}
.inbetween-story-page .inb-story-elementor-intro .elementor-widget-text-editor,
.inbetween-story-page .inb-story-elementor-intro .elementor-widget-text-editor p {
    margin: 0;
    color: var(--inbetween-muted);
    font: 400 16px/26px "Noto Sans TC", sans-serif;
}

.inbetween-story-page .inb-woo-widget .woocommerce {
    display: grid !important;
    grid-template-columns: 364px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 1036px;
    margin: 0 !important;
}

.inbetween-story-page .woocommerce-MyAccount-navigation {
    grid-column: 1;
    grid-row: 1;
    width: 364px !important;
    padding: 32px 32px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.inbetween-story-page .woocommerce-MyAccount-navigation::before {
    display: block;
    margin: 0 0 12px;
    color: var(--inbetween-tertiary);
    content: "會員中心";
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

.inbetween-story-page .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    width: 300px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.inbetween-story-page .woocommerce-MyAccount-navigation li {
    display: block;
    order: 10;
    width: 300px;
    margin: 0 !important;
    padding: 0 !important;
}

.inbetween-story-page .woocommerce-MyAccount-navigation-link--dashboard { order: 1; }
.inbetween-story-page .woocommerce-MyAccount-navigation-link--my-story { order: 2; }
.inbetween-story-page .woocommerce-MyAccount-navigation-link--experience { order: 3; }
.inbetween-story-page .woocommerce-MyAccount-navigation-link--orders { order: 4; }
.inbetween-story-page .woocommerce-MyAccount-navigation-link--edit-account,
.inbetween-story-page .woocommerce-MyAccount-navigation-link--customer-logout { display: none; }

.inbetween-story-page .woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex !important;
    width: 300px !important;
    min-height: 44px !important;
    align-items: center;
    gap: 12px;
    padding: 11px 12px 11px 44px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--inbetween-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 22px !important;
}

.inbetween-story-page .woocommerce-MyAccount-navigation a::before {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 20px;
    height: 20px;
    background: center / contain no-repeat url("icons/home.svg");
    content: "";
}

.inbetween-story-page .woocommerce-MyAccount-navigation-link--my-story a::before { background-image: url("icons/pencil.svg"); }
.inbetween-story-page .woocommerce-MyAccount-navigation-link--experience a::before { background-image: url("icons/people.svg"); }
.inbetween-story-page .woocommerce-MyAccount-navigation-link--orders a::before { background-image: url("icons/receipt.svg"); }

.inbetween-story-page .woocommerce-MyAccount-navigation .is-active a {
    background: var(--inbetween-soft) !important;
    color: var(--inbetween-accent-dark) !important;
}

.inbetween-story-page .woocommerce-MyAccount-navigation .is-active a::after {
    margin-left: auto;
    content: "目前";
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.inbetween-story-page .inbetween-story-help {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 2;
    width: 300px;
    height: 146px;
    margin: 12px 32px 0;
    padding: 20px;
    border-radius: 12px;
    background: var(--inbetween-soft);
}

.inbetween-story-page .inbetween-story-help strong,
.inbetween-story-page .inbetween-story-help p {
    display: block;
    margin: 0 0 8px;
}

.inbetween-story-page .inbetween-story-help strong { font-size: 14px; line-height: 22px; }
.inbetween-story-page .inbetween-story-help p { color: var(--inbetween-muted); font-size: 12px; line-height: 18px; }
.inbetween-story-page .inbetween-story-help .button {
    display: flex;
    width: 260px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--inbetween-accent-dark) !important;
    font-size: 14px;
    font-weight: 500;
}

.inbetween-story-page .woocommerce-MyAccount-content {
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100% !important;
    min-width: 0;
    padding: 206px 64px 64px !important;
    background: var(--inbetween-canvas) !important;
}

.inbetween-story-page .inbetween-story {
    width: 100% !important;
    max-width: 948px !important;
    margin: 0 !important;
}

.inbetween-story-page .inbetween-account-intro {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px !important;
    text-align: left !important;
}

.inbetween-story-page .inbetween-story > .inbetween-account-intro { display: none !important; }

.inbetween-story-page .inbetween-account-intro .inbetween-eyebrow {
    margin: 0 0 12px !important;
    color: var(--inbetween-accent-dark) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.inbetween-story-page .inbetween-account-intro h1 {
    margin: 0 0 12px !important;
    color: var(--inbetween-ink) !important;
    font: 600 36px/46px "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
    letter-spacing: -.2px !important;
    text-align: left !important;
}

.inbetween-story-page .inbetween-account-intro > p:last-child {
    margin: 0 !important;
    color: var(--inbetween-muted) !important;
    font-size: 16px !important;
    line-height: 26px !important;
}

.inbetween-story-page .inbetween-story > :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) {
    margin: 0 0 12px !important;
}

.inbetween-story-page .inbetween-story-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 616px) minmax(0, 304px) !important;
    gap: 28px !important;
    width: 948px;
    margin: 0 !important;
}

.inbetween-story-page .inbetween-story-card,
.inbetween-story-page .inbetween-story-aside {
    box-sizing: border-box;
    height: 520px;
    min-width: 0;
    margin: 0 !important;
    border: 1px solid var(--inbetween-border) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.inbetween-story-page .inbetween-story-card {
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: start;
    padding: 28px !important;
    background: #fff !important;
}

.inbetween-story-page .inbetween-story-card > .inbetween-status-badge,
.inbetween-story-page .inbetween-story-card > h2,
.inbetween-story-page .inbetween-story-card > h2 + p { display: none !important; }
.inbetween-story-page .inbetween-story-form { display: contents !important; }
.inbetween-story-page .inbetween-story-field:not(.inbetween-story-field--story-text) { display: none !important; }
.inbetween-story-page .inbetween-story-field--story-text { order: 1; width: 560px; }
.inbetween-story-page .inbetween-story-field--story-text label {
    margin: 0 0 8px !important;
    color: var(--inbetween-ink) !important;
    font-size: 0 !important;
    font-weight: 500 !important;
    line-height: 22px !important;
}
.inbetween-story-page .inbetween-story-field--story-text label::after {
    content: "你們的故事";
    font-size: 14px;
}
.inbetween-story-page .inbetween-story-field--story-text label span { display: none; }
.inbetween-story-page #inbetween-story-text {
    width: 560px !important;
    height: 120px !important;
    min-height: 120px !important;
    padding: 19px !important;
    border: 3px solid var(--inbetween-accent-dark) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--inbetween-accent-dark) !important;
    color: var(--inbetween-ink) !important;
    font-size: 16px !important;
    line-height: 26px !important;
    resize: none;
}

.inbetween-story-page .inbetween-story-autosave-status {
    order: 2;
    width: 560px;
    margin: 8px 0 18px !important;
    color: var(--inbetween-muted) !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

.inbetween-story-page .inbetween-story-upload {
    order: 3;
    width: 560px;
    height: 146px;
    margin: 0 0 12px;
}

.inbetween-story-page .inbetween-story-images {
    position: relative;
    box-sizing: border-box;
    width: 560px;
    height: 146px;
    margin: 0 !important;
    padding: 48px 20px 16px 60px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--inbetween-subtle) !important;
    box-shadow: none !important;
}

.inbetween-story-page .inbetween-story-images::before {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 24px;
    height: 24px;
    background: center / contain no-repeat url("icons/upload.svg");
    content: "";
}

.inbetween-story-page .inbetween-story-images h3 {
    margin: 0 0 4px !important;
    color: var(--inbetween-ink) !important;
    font: 500 14px/22px "Noto Sans TC", sans-serif !important;
}

.inbetween-story-page .inbetween-story-images > p {
    margin: 0 !important;
    color: var(--inbetween-muted) !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

.inbetween-story-page .inbetween-story-images .woocommerce-info {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.inbetween-story-page .inbetween-story-image-upload {
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    margin: 12px 0 0;
}
.inbetween-story-page .inbetween-story-image-upload label { grid-column: 1 / -1; }
.inbetween-story-page .inbetween-story-image-upload button { display: inline-flex !important; }
.inbetween-story-page .inbetween-story-image-upload input[type="file"] {
    position: static;
    width: 100%;
    min-height: 44px;
    opacity: 1;
    cursor: pointer;
}

.inbetween-story-page .inbetween-story-actions {
    order: 4;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 560px;
    margin: 0 !important;
}
.inbetween-story-page .inbetween-story-actions .button {
    display: inline-flex !important;
    width: 196px !important;
    height: 44px !important;
    min-height: 44px !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
.inbetween-story-page .inbetween-story-actions .button::before {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: center / contain no-repeat url("icons/arrow-right.svg");
    content: "";
}

.inbetween-story-page .inbetween-story-guide {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px !important;
    background: var(--inbetween-soft) !important;
}
.inbetween-story-page .inbetween-story-guide__badge {
    width: 180px;
    min-height: 36px;
    margin: 0 !important;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--inbetween-accent-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
}
.inbetween-story-page .inbetween-story-guide h2 {
    margin: 0 !important;
    font: 600 22px/30px "Noto Serif TC", serif !important;
}
.inbetween-story-page .inbetween-story-guide ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.inbetween-story-page .inbetween-story-guide li {
    display: flex;
    height: 74px;
    align-items: center;
    gap: 12px;
}
.inbetween-story-page .inbetween-story-guide li span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--inbetween-accent-dark);
    font-size: 12px;
    font-weight: 500;
}
.inbetween-story-page .inbetween-story-guide li strong {
    color: var(--inbetween-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}
.inbetween-story-page .inbetween-story-guide .inbetween-story-images { display: none; }

.inbetween-story-page .inbetween-story-privacy {
    box-sizing: border-box;
    display: flex;
    width: 948px;
    height: 100px;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid var(--inbetween-border);
    border-radius: 12px;
    background: #fff;
}
.inbetween-story-page .inbetween-story-privacy p {
    margin: 0;
    color: var(--inbetween-muted);
    font-size: 14px;
    line-height: 22px;
}
.inbetween-story-page .inbetween-icon--shield {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background: center / contain no-repeat url("icons/shield.svg");
}

@media (max-width: 767px) {
    .inbetween-story-page .inb-site-header__inner,
    .inbetween-story-page .inb-account-shell__inner { width: 100% !important; }
    .inbetween-story-page .inb-woo-widget .woocommerce {
        display: block !important;
        min-height: 0;
    }
    .inbetween-story-page .inb-account-shell__inner { display: block !important; }
    .inbetween-story-page .inb-story-elementor-intro {
        position: static;
        box-sizing: border-box;
        display: flex;
        width: 100% !important;
        max-width: none;
        height: 122px;
        padding: 18px 24px 16px;
        background: var(--inbetween-soft);
    }
    .inbetween-story-page .inb-story-elementor-intro .inbetween-eyebrow .elementor-heading-title {
        margin-bottom: 4px;
    }
    .inbetween-story-page .inb-story-elementor-intro h1.elementor-heading-title {
        margin-bottom: 4px;
        font-size: 28px;
        line-height: 38px;
    }
    .inbetween-story-page .inb-story-elementor-intro .elementor-widget-text-editor,
    .inbetween-story-page .inb-story-elementor-intro .elementor-widget-text-editor p {
        font-size: 12px;
        line-height: 18px;
    }
    .inbetween-story-page .woocommerce-MyAccount-navigation,
    .inbetween-story-page .inbetween-story-help { display: none !important; }
    .inbetween-story-page .woocommerce-MyAccount-content {
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }
    .inbetween-story-page .inbetween-story { max-width: none !important; }
    .inbetween-story-page .inbetween-story > :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) {
        margin: 12px 24px !important;
    }
    .inbetween-story-page .inbetween-story-layout {
        display: flex !important;
        width: 100%;
        flex-direction: column;
        gap: 0 !important;
    }
    .inbetween-story-page .inbetween-story-card {
        width: 100%;
        height: 426px;
        padding: 16px 24px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--inbetween-canvas) !important;
    }
    .inbetween-story-page .inbetween-story-field--story-text,
    .inbetween-story-page .inbetween-story-autosave-status,
    .inbetween-story-page .inbetween-story-upload,
    .inbetween-story-page .inbetween-story-actions { width: 342px; }
    .inbetween-story-page #inbetween-story-text {
        width: 342px !important;
        height: 120px !important;
    }
    .inbetween-story-page .inbetween-story-autosave-status { margin-bottom: 12px !important; }
    .inbetween-story-page .inbetween-story-upload,
    .inbetween-story-page .inbetween-story-images {
        width: 342px;
        height: 112px;
    }
    .inbetween-story-page .inbetween-story-images {
        padding: 28px 16px 16px 52px !important;
    }
    .inbetween-story-page .inbetween-story-images::before {
        top: 44px;
        left: 16px;
    }
    .inbetween-story-page .inbetween-story-actions { gap: 10px !important; }
    .inbetween-story-page .inbetween-story-actions .button {
        width: 166px !important;
        padding: 10px 12px !important;
    }
    .inbetween-story-page .inbetween-story-guide {
        box-sizing: border-box;
        width: 100%;
        height: 144px;
        padding: 18px 24px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--inbetween-soft) !important;
    }
    .inbetween-story-page .inbetween-story-guide__badge { display: none; }
    .inbetween-story-page .inbetween-story-guide h2 {
        margin: 0 0 6px !important;
        font: 500 14px/22px "Noto Sans TC", sans-serif !important;
    }
    .inbetween-story-page .inbetween-story-guide ol { display: block; }
    .inbetween-story-page .inbetween-story-guide ol::before {
        display: block;
        color: var(--inbetween-muted);
        content: "先寫最近發生了什麼、你最在意什麼，以及希望如何改變。";
        font-size: 14px;
        line-height: 22px;
    }
    .inbetween-story-page .inbetween-story-guide li { display: none; }
    .inbetween-story-page .inbetween-story-privacy {
        width: 100%;
        height: 88px;
        gap: 10px;
        margin: 0;
        padding: 22px 24px;
        border: 0;
        border-radius: 0;
    }
    .inbetween-story-page .inbetween-story-privacy p {
        width: 310px;
        font-size: 0;
        line-height: 18px;
    }
    .inbetween-story-page .inbetween-story-privacy p::after {
        content: "私人內容，權限驗證後才可讀取。";
        font-size: 12px;
    }
    .inbetween-story-page .inbetween-icon--shield {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }
}

/* Phase 17 specificity lock: neutralize the shared Phase 15 shell on this page. */
body.inbetween-story-page {
    --inbetween-accent: #d72865;
    --inbetween-accent-dark: #a91f4d;
    --inbetween-ink: #2d2529;
    --inbetween-muted: #6f6268;
}
body.inbetween-story-page .inb-site-header {
    box-sizing: border-box;
    height: 84px;
    min-height: 84px;
    padding: 0 !important;
}
body.inbetween-story-page .elementor .inb-site-header__inner {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 84px;
    min-height: 84px;
    margin: 0 !important;
    padding: 0 40px !important;
}
body.inbetween-story-page .inb-brand a {
    color: var(--inbetween-ink) !important;
    font: 600 28px/38px "Noto Serif TC", serif !important;
}
body.inbetween-story-page :is(.inb-header-nav,.inb-header-cta) { display: none !important; }
body.inbetween-story-page .inbetween-story-header-status {
    position: absolute;
    z-index: 20;
    top: 24px;
    right: 40px;
    display: flex;
    height: 36px;
    align-items: center;
    gap: 12px;
    color: var(--inbetween-ink);
    font-size: 14px;
    line-height: 22px;
}
body.inbetween-story-page .inbetween-story-header-status__badge {
    display: inline-flex;
    width: 180px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--inbetween-success-bg);
    color: var(--inbetween-success);
}
body.inbetween-story-page .inbetween-story-header-status__mobile { display: none; }
body.inbetween-story-page .inb-site-footer { display: none !important; }
body.inbetween-story-page .inb-account-shell { padding: 0 !important; }
body.inbetween-story-page .elementor .inb-account-shell__inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.inbetween-story-page .elementor .inb-story-elementor-intro {
    top: 64px;
    left: 428px;
    width: 948px !important;
    max-width: 948px !important;
    height: 126px;
    margin: 0 !important;
    padding: 0 !important;
}
body.inbetween-story-page .inb-story-elementor-intro > .elementor-element,
body.inbetween-story-page .inb-story-elementor-intro .elementor-widget,
body.inbetween-story-page .inb-story-elementor-intro .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}
body.inbetween-story-page .inb-woo-widget,
body.inbetween-story-page .inb-woo-widget > .elementor-widget-container { padding: 0 !important; }
body.inbetween-story-page.woocommerce-account.logged-in .inb-woo-widget .woocommerce {
    display: grid !important;
    grid-template-columns: 364px minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 1036px;
    background: linear-gradient(to right, #fff 0 364px, var(--inbetween-canvas) 364px);
}
body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation {
    width: 364px !important;
    max-width: 364px !important;
    padding: 32px 32px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    width: 300px !important;
    grid-template-columns: none !important;
    gap: 12px !important;
}
body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation li,
body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation a {
    width: 300px !important;
}
body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-navigation a {
    min-height: 44px !important;
    justify-content: flex-start;
    padding: 11px 12px 11px 44px !important;
    font: 500 14px/22px "Noto Sans TC", sans-serif !important;
}
body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-content {
    width: 100% !important;
    padding: 214px 64px 64px !important;
}
body.inbetween-story-page .inbetween-story-actions .button:first-of-type {
    border: 1px solid var(--inbetween-accent) !important;
    background: #fff !important;
    color: var(--inbetween-accent-dark) !important;
}
body.inbetween-story-page .inbetween-story-card {
    padding: 27px 28px 28px !important;
}
body.inbetween-story-page .inbetween-story-field--story-text label { margin-bottom: 2px !important; }
body.inbetween-story-page .inbetween-story-autosave-status { margin: 2px 0 26px !important; }
body.inbetween-story-page #inbetween-story-text:focus-visible {
    outline: 3px solid var(--inbetween-accent-dark) !important;
    outline-offset: 2px !important;
}
body.inbetween-story-page .inbetween-story-images { padding-left: 20px !important; padding-top: 46px !important; }
body.inbetween-story-page .inbetween-story-images h3 { margin-bottom: 14px !important; }
body.inbetween-story-page .inbetween-story-images h3 { transform: translateY(6px); }
body.inbetween-story-page .inbetween-story-images > p {
    display: block;
    margin: 0 !important;
    color: var(--inbetween-muted) !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

@media (max-width: 767px) {
    body.inbetween-story-page .inb-site-header,
    body.inbetween-story-page .elementor .inb-site-header__inner {
        height: 64px;
        min-height: 64px;
    }
    body.inbetween-story-page .elementor .inb-site-header__inner { padding: 0 24px !important; }
    body.inbetween-story-page .inb-brand a { font-size: 22px !important; line-height: 30px !important; }
    body.inbetween-story-page .inbetween-story-header-status {
        top: 22px;
        right: 24px;
        width: 20px;
        height: 20px;
    }
    body.inbetween-story-page :is(.inbetween-story-header-status__badge,.inbetween-story-header-status__name) {
        display: none;
    }
    body.inbetween-story-page .inbetween-story-header-status__mobile {
        display: block;
        width: 20px;
        height: 20px;
        background: center / contain no-repeat url("icons/people.svg");
    }
    body.inbetween-story-page .elementor .inb-story-elementor-intro {
        position: static;
        width: 100% !important;
        max-width: none !important;
        height: 122px;
        padding: 18px 24px 16px !important;
    }
    body.inbetween-story-page .inb-story-elementor-intro .inbetween-eyebrow .elementor-heading-title,
    body.inbetween-story-page .inb-story-elementor-intro h1.elementor-heading-title { margin-bottom: 4px; }
    body.inbetween-story-page.woocommerce-account.logged-in .inb-woo-widget .woocommerce {
        display: block !important;
        min-height: 0;
        background: var(--inbetween-canvas);
    }
    body.inbetween-story-page.woocommerce-account .inb-woo-widget .woocommerce-MyAccount-content {
        width: 100% !important;
        padding: 0 !important;
    }
    body.inbetween-story-page .inbetween-story-card,
    body.inbetween-story-page .inbetween-story-guide,
    body.inbetween-story-page .inbetween-story-privacy { width: 100% !important; }
    body.inbetween-story-page .inbetween-story-card { padding: 16px 24px !important; }
    body.inbetween-story-page .inbetween-story-autosave-status { margin: 2px 0 26px !important; }
    body.inbetween-story-page .inbetween-story-images {
        padding: 16px 16px 16px 52px !important;
    }
    body.inbetween-story-page .inbetween-story-images::before { top: 48px; }
    body.inbetween-story-page .inbetween-story-images h3 { margin-bottom: 4px !important; transform: none; }
}
