/* Finance404 Platform — builds on the Glass Editorial tokens (--f404-ink, --f404-orange, --f404-paper…). */
.f4p-main { padding-block: clamp(28px, 5vw, 64px) 72px; }
.f4p-main h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.045em; font-weight: 780; margin: 6px 0 14px; color: var(--f404-ink); }
.f4p-main h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 740; margin: 0 0 10px; color: var(--f404-ink); }
.f4p-main h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 8px; }
.f4p-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--f404-muted); max-width: 62ch; margin: 0 0 20px; }
.f4p-small { font-size: 13.5px; color: var(--f404-muted); }
.f4p-muted { color: var(--f404-muted); }
.f4p-section { margin-top: clamp(56px, 8vw, 104px); }
.f4p-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 10px; }
.f4p-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.f4p-btn:active { transform: scale(.98); }
.f4p-btn-primary { background: var(--f404-orange); color: #fff !important; box-shadow: 0 8px 22px #c4553040; }
.f4p-btn-primary:hover { background: #ad4826; }
.f4p-btn-ghost { background: #ffffffb8; color: var(--f404-ink) !important; border-color: var(--f404-line); }
.f4p-btn-ghost:hover { background: #fff; }
.f4p-btn-danger { background: #9e2b1b; color: #fff; }
.f4p-full { width: 100%; }
.f4p-link, .f4p-panel p a, .f4p-panel li a, .f4p-auth-card a, .f4p-tool-link a, .f4p-empty p a, .f4p-region-memory a { color: #a2421f; text-underline-offset: 3px; }
.f404-post-card h3 a { color: inherit !important; text-decoration: none !important; }
.f4p-link-btn { background: none; border: 0; padding: 6px 2px; color: #a2421f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.f4p-notice { padding: 12px 16px; border-radius: 14px; background: #eef6ec; border: 1px solid #c7dfc1; margin: 0 0 16px; }
.f4p-notice.f4p-bad, .f4p-errors { background: #fbecea; border: 1px solid #ecc3bc; padding: 12px 16px; border-radius: 14px; margin: 0 0 16px; }
.f4p-errors ul { margin: 0; padding-left: 18px; }

/* ---------- Header navigation ---------- */
.f4p-nav { display: flex; align-items: center; gap: 4px; }
.f4p-nav-link { font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 99px; color: var(--f404-ink) !important; text-decoration: none !important; }
.f4p-nav-link:hover, .f4p-nav-link[aria-current=page] { background: #ffffff99; box-shadow: inset 0 1px 1px #fff, 0 2px 8px #30271b0b; }
.f4p-nav-item { position: relative; display: flex; align-items: center; }
.f4p-menu-toggle, .f4p-sub-toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border: 0; border-radius: 50%; background: transparent; color: var(--f404-ink); cursor: pointer; }
.f4p-menu-toggle:hover, .f4p-sub-toggle:hover { background: #ffffffb0; }
.f4p-menu-toggle svg, .f4p-sub-toggle svg, .f4p-account-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
[aria-expanded=true] > svg { transform: rotate(180deg); }
.f4p-register { margin-left: 6px; padding: 10px 20px; border-radius: 99px; background: var(--f404-orange); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; box-shadow: 0 6px 18px #c4553038; }
.f4p-register:hover { background: #ad4826; }
.f4p-menu { position: absolute; top: calc(100% + 12px); left: -12px; z-index: 120; min-width: 320px; padding: 14px; border-radius: 22px; box-shadow: 0 24px 60px #2a221626; background: #fffffff2; list-style: none; margin: 0; }
.f4p-menu[hidden] { display: none; }
.f4p-menu-label { margin: 2px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--f404-muted); }
.f4p-countries, .f4p-topics { list-style: none; margin: 0; padding: 0; }
.f4p-country-row { display: flex; align-items: center; justify-content: space-between; }
.f4p-country-row a, .f4p-topics a, .f4p-account-menu a, .f4p-menu-all { display: block; flex: 1; padding: 9px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--f404-ink) !important; text-decoration: none !important; }
.f4p-country-row a:hover, .f4p-topics a:hover, .f4p-account-menu a:hover, .f4p-menu-all:hover { background: #f3efe6; }
.f4p-code { color: var(--f404-muted); font-weight: 500; font-size: 12px; margin-left: 4px; }
.f4p-sub-toggle { margin: 0; }
.f4p-topics { padding: 2px 0 8px 14px; border-left: 2px solid var(--f404-line); margin-left: 12px; }
.f4p-topics a { font-weight: 500; padding: 7px 10px; }
.f4p-menu-all { margin-top: 6px; border-top: 1px solid var(--f404-line); border-radius: 0 0 12px 12px; padding-top: 12px; }
.f4p-account { margin-left: 4px; }
.f4p-account-toggle { gap: 8px; padding: 6px 12px 6px 6px; border: 0; }
.f4p-avatar { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--f404-ink); color: #fff; font-size: 13px; font-weight: 700; }
.f4p-account-menu { left: auto; right: 0; min-width: 180px; }
.f4p-search-btn { min-width: 0 !important; width: 44px; height: 44px; padding: 0 !important; }
.f4p-mobile { display: none; position: relative; }
.f4p-mobile > summary { list-style: none; width: 44px; height: 44px; padding: 0; }
.f4p-mobile > summary::-webkit-details-marker { display: none; }
/* Mobile menu: main navigation only, opened as a full-screen layer. */
.f4p-mobile-panel { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: max(96px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 4px; background: var(--f404-paper, #f8f7f2); border-radius: 0; box-shadow: none; }
.f4p-mobile-panel > a, .f4p-mobile-panel > details > summary { font-size: 22px; letter-spacing: -.02em; padding: 16px 8px; border-bottom: 1px solid var(--f404-line); border-radius: 0; }
.f4p-mobile-panel a, .f4p-mobile-panel summary { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--f404-ink) !important; text-decoration: none !important; cursor: pointer; }
.f4p-mobile-panel .f4p-register { font-size: 18px !important; border-bottom: 0 !important; margin-top: 18px !important; padding: 16px !important; border-radius: 99px !important; color: #fff !important; }
html.f4p-menu-open, html.f4p-menu-open body { overflow: hidden; }
.f4p-mobile-close { position: absolute; top: max(20px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--f404-line); border-radius: 50%; background: #fff; color: var(--f404-ink); cursor: pointer; }
.f4p-mobile-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.f4p-mobile-brand { position: absolute; top: max(28px, env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); font-size: 24px; font-weight: 800; border: 0 !important; padding: 0 !important; }
.f4p-mobile-brand span { color: var(--f404-orange); }
@media (min-width: 961px) { .f4p-mobile-panel { display: none !important; } }
.f4p-mobile-panel a:hover, .f4p-mobile-panel summary:hover { background: #f3efe6; }
.f4p-mobile-panel details details { margin-left: 10px; }
.f4p-mobile-panel ul { list-style: none; margin: 0; padding: 0 0 6px 14px; }
.f4p-mobile-panel ul a { font-weight: 500; padding: 9px 12px; }
.f4p-mobile-panel .f4p-register { text-align: center; margin: 8px 0 0; }
@media (max-width: 960px) {
	.f4p-nav { display: none; }
	.f4p-mobile { display: block; }
}

/* ---------- Homepage (built on the Glass Editorial components) ---------- */
.f4p-home .f404-hero h1 span { display: inline; }
.f4p-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.f4p-tool { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; border-radius: 28px; min-height: 100%; box-shadow: inset 0 1px 1px #fff, 0 18px 40px #4f432b0f; }
.f4p-tool .f404-eyebrow { margin: 0; }
.f4p-tool h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.03em; font-weight: 740; margin: 0; color: var(--f404-ink); }
.f4p-tool p { margin: 0; color: var(--f404-muted); font-size: 15px; line-height: 1.6; }
.f4p-tool .f404-text-link { margin-top: auto; padding-top: 8px; }
.f4p-tool-index { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 700; color: #b7b2a5; letter-spacing: .04em; }
.f4p-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.f4p-flag { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 7px; border-radius: 99px; background: #ffffffc4; border: 1px solid var(--f404-line); color: var(--f404-ink); }
.f4p-flag-soon { color: #6c5418; background: #f4ecdc; border-color: #eadbb8; }
.f4p-fineprint { font-size: 13px; color: var(--f404-muted); margin: 18px 0 0; max-width: 92ch; }
.f4p-home .f404-section-heading .f404-glass-button { white-space: nowrap; }
.f4p-home .f404-method-copy .f404-button { margin-top: 20px; }
.f4p-fineprint + * { margin-top: 0; }
.f4p-home .f4p-notice { margin-top: 24px; }
@media (max-width: 1100px) { .f4p-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .f4p-tools { grid-template-columns: 1fr; } }
/* Shared bits used by the dashboard */
.f4p-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; padding: 14px; border-radius: 22px; }
.f4p-kpis > div { background: #ffffffc9; border: 1px solid var(--f404-line); border-radius: 16px; padding: 14px; min-width: 0; }
.f4p-kpis small { display: block; font-size: 12.5px; color: var(--f404-muted); }
.f4p-kpis strong { display: block; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.03em; overflow-wrap: anywhere; }
.f4p-kpi-accent { background: #fbefe8 !important; border-color: #efc9b7 !important; }
.f4p-neg strong { color: #9e2b1b; }
.f4p-goal-row { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #ffffffc9; border: 1px solid var(--f404-line); margin-top: 10px; }
.f4p-goal-row small { color: var(--f404-muted); margin-right: 8px; }
.f4p-bar { height: 10px; border-radius: 99px; background: #ebe6da; overflow: hidden; }
.f4p-bar span { display: block; height: 100%; background: linear-gradient(90deg, #c45530, #e08a52); border-radius: 99px; }
@media (max-width: 520px) { .f4p-kpis { grid-template-columns: 1fr; } }

/* ---------- Hubs ---------- */
.f4p-hub { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 72px; }
.f4p-hub .f4p-chips { margin-top: 18px; }
.f4p-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 13.5px; color: var(--f404-muted); }
.f4p-crumbs li + li::before { content: "→"; margin-right: 6px; color: #a9a597; }
.f4p-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.f4p-chips a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--f404-line); background: #ffffffb3; font-size: 14px; font-weight: 600; color: var(--f404-ink) !important; text-decoration: none !important; }
.f4p-chips a[aria-current=page] { background: var(--f404-ink); color: #fff !important; border-color: var(--f404-ink); }
.f4p-chips-topics a { font-weight: 500; }
.f4p-hub-search { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 10px 10px 18px; border-radius: 22px; margin: 18px 0; max-width: 760px; }
.f4p-hub-search input { min-height: 44px; border: 1px solid var(--f404-line); border-radius: 14px; padding: 0 14px; background: #fff; min-width: 0; }
.f4p-hub-search label { font-weight: 600; font-size: 14px; }
.f4p-region-memory, .f4p-region-set { margin: 8px 0; font-size: 14px; }
.f4p-tool-link { padding: 14px 18px; border-radius: 18px; margin: 18px 0; max-width: 820px; }
.f4p-group { margin-top: 44px; }
.f4p-group .f404-section-heading p { margin: 4px 0 0; max-width: 60ch; }
.f4p-list-title { margin-top: 32px !important; }
.f4p-empty { padding: 26px; border-radius: 24px; margin: 26px 0; max-width: 820px; }
.f4p-region-label { font-size: 13px; color: var(--f404-muted); margin: 4px 0 8px; }
.f4p-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0; }
.f4p-pagination a, .f4p-pagination span { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 99px; border: 1px solid var(--f404-line); background: #fff; text-decoration: none !important; }
.f4p-pagination span[aria-current] { background: var(--f404-ink); color: #fff; }
@media (max-width: 600px) { .f4p-hub-search { grid-template-columns: 1fr; } }
.f404-reading .f4p-crumbs ol { justify-content: center; }

/* ---------- Auth ---------- */
.f4p-auth { display: grid; place-items: center; }
.f4p-auth-card { width: min(100%, 480px); padding: clamp(24px, 4vw, 40px); border-radius: 28px; }
.f4p-auth-card h1 { font-size: clamp(30px, 4vw, 40px); }
.f4p-auth-card form, .f4p-form { display: grid; gap: 8px; }
.f4p-auth-card label, .f4p-form label { font-weight: 600; font-size: 14px; margin-top: 8px; }
.f4p-main input[type=text], .f4p-main input[type=email], .f4p-main input[type=password], .f4p-main input[type=number], .f4p-main input[type=date], .f4p-main select { width: 100%; min-height: 46px; border: 1px solid #d3d1c6; border-radius: 12px; padding: 0 14px; background: #fff; font-size: 16px; color: var(--f404-ink); }
.f4p-main input:focus-visible, .f4p-main select:focus-visible { outline: 3px solid #b64b2a; outline-offset: 2px; }
.f4p-pass { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.f4p-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.f4p-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.f4p-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f4p-switch { text-align: center; margin: 18px 0 0; }

/* ---------- Member area ---------- */
.f4p-member { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.f4p-side { position: sticky; top: 110px; }
.f4p-hello { font-weight: 700; margin: 0 0 10px; }
.f4p-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.f4p-side a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--f404-ink) !important; text-decoration: none !important; font-weight: 600; }
.f4p-side a:hover { background: #ffffffb3; }
.f4p-side a[aria-current=page] { background: var(--f404-ink); color: #fff !important; }
.f4p-panel h1 { font-size: clamp(30px, 4vw, 44px); }
.f4p-form { padding: clamp(18px, 3vw, 28px); border-radius: 24px; margin: 0 0 20px; max-width: 760px; }
.f4p-form h2 { margin-top: 10px !important; }
.f4p-form .f4p-btn { justify-self: start; margin-top: 12px; }
.f4p-form fieldset { border: 1px solid var(--f404-line); border-radius: 16px; padding: 12px 16px; margin: 8px 0; }
.f4p-form legend { font-weight: 650; padding: 0 6px; }
.f4p-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.f4p-row label { display: grid; gap: 6px; margin: 0; }
.f4p-line { display: grid; grid-template-columns: 1fr 160px auto; gap: 8px; align-items: center; margin: 6px 0; }
.f4p-line input[readonly] { background: #f6f3ec; }
.f4p-result { padding: clamp(18px, 3vw, 28px); border-radius: 24px; max-width: 760px; }
.f4p-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.f4p-table th, .f4p-table td { padding: 10px 6px; border-bottom: 1px solid var(--f404-line); text-align: left; font-weight: 500; }
.f4p-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.f4p-total th, .f4p-total td { font-weight: 800; border-bottom: 0; }
.f4p-notes { font-size: 14px; color: var(--f404-muted); padding-left: 18px; }
.f4p-card { margin: 0 0 26px; max-width: 860px; }
.f4p-goal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.f4p-goal { padding: 22px; border-radius: 24px; margin: 0 0 18px; max-width: 760px; }
.f4p-goal h2 { font-size: 22px !important; }
.f4p-contrib { grid-template-columns: 1fr 1fr auto; margin-top: 14px; }
.f4p-contribs { list-style: none; padding: 0; margin: 8px 0 0; }
.f4p-contribs li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--f404-line); }
.f4p-saved, .f4p-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 860px; }
.f4p-saved li { padding: 18px 20px; border-radius: 20px; display: grid; gap: 6px; }
.f4p-saved h2 { font-size: 19px !important; margin: 0 !important; }
.f4p-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--f404-line); }
.f4p-danger { border: 1px solid #ecc3bc; }
@media (max-width: 860px) {
	.f4p-member { grid-template-columns: 1fr; }
	.f4p-side { position: static; }
	.f4p-side ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.f4p-side a { padding: 8px 12px; border: 1px solid var(--f404-line); background: #ffffffb3; }
	.f4p-line { grid-template-columns: 1fr 110px; }
	.f4p-line .f4p-link-btn { grid-column: 1 / -1; justify-self: start; padding: 0; }
	.f4p-contrib { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.f4p-footer-top { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 960px) { .f4p-footer-top { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 520px) { .f4p-footer-top { grid-template-columns: 1fr !important; } }

/* Staff only: keep the full-screen menu below the WordPress admin bar. */
.admin-bar .f4p-mobile-panel { top: 46px; height: calc(100dvh - 46px); }

/* ---------- App pages (member + auth) ---------- */
.f4p-app-page .f4p-main h2::before, .f4p-app-page .f4p-main h1::before { content: none !important; display: none !important; }
.f4p-app-page .f4p-main p { margin-left: 0 !important; margin-right: 0; max-width: 72ch; }
.f4p-app-page .f4p-panel > h1 { margin-top: 0; }
.f4p-app-page .f4p-panel > p.f4p-muted { margin: 0 0 22px; }
.f4p-card .f4p-goal-head h2, .f4p-empty h2 { font-size: 22px !important; }
.f4p-card .f4p-goal-head a { font-weight: 650; font-size: 14px; }
.f4p-empty { border-radius: 24px; }
/* Alignment */
.f4p-hub .f404-library-intro { text-align: left; margin-left: 0; margin-right: 0; max-width: 64ch; }
.f404-article-heading .f4p-region-label { text-align: center; margin: 14px auto 0; }
.f4p-region-set .f4p-link-btn { font-size: 13px; font-weight: 600; color: var(--f404-muted); }

/* Phones: keep the closed menu out of the layout and fit the hero to the screen. */
.f4p-mobile:not([open]) .f4p-mobile-panel { display: none; }
@media (max-width: 560px) {
	.f4p-home .f404-hero h1 { font-size: clamp(32px, 9.6vw, 44px); }
	.f4p-home .f404-hero-actions { flex-wrap: wrap; row-gap: 14px; }
}

/* ======== Mobile menu ======== */

/* Mobile menu: sticky header row, clear type scale, nested countries. */
.f4p-mobile-panel {
	padding: 0; gap: 0; background: var(--f404-paper, #f8f7f2);
	font-family: F404Manrope, Manrope, system-ui, -apple-system, sans-serif;
	animation: f4p-menu-in .26s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes f4p-menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .f4p-mobile-panel { animation: none; } }
.f4p-mobile-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px max(20px, env(safe-area-inset-right)) 16px max(20px, env(safe-area-inset-left)); background: var(--f404-paper, #f8f7f2); border-bottom: 1px solid var(--f404-line); }
.f4p-mobile-brand { position: static; font-size: 23px; font-weight: 800; letter-spacing: -.025em; line-height: 1; color: var(--f404-ink) !important; }
.f4p-mobile-close { position: static; width: 44px; height: 44px; flex: none; }
.f4p-mobile-panel > a, .f4p-mobile-panel > details > summary { display: flex; align-items: center; gap: 12px; margin: 0; padding: 17px max(20px, env(safe-area-inset-right)) 17px max(20px, env(safe-area-inset-left)); border-radius: 0; border-bottom: 1px solid var(--f404-line); font-size: 19px; font-weight: 640; letter-spacing: -.02em; line-height: 1.25; }
.f4p-mobile-panel > a:hover, .f4p-mobile-panel > details > summary:hover { background: #ffffff8c; }
.f4p-mobile-panel summary { list-style: none; }
.f4p-mobile-panel summary::-webkit-details-marker { display: none; }
.f4p-mobile-panel summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .4; transition: transform .22s; }
.f4p-mobile-panel details[open] > summary::after { transform: rotate(-135deg); opacity: .7; }
.f4p-mobile-panel details details { margin: 0; }
.f4p-m-articles > a.f4p-m-all { display: flex; padding: 14px max(20px, env(safe-area-inset-right)) 14px calc(max(20px, env(safe-area-inset-left)) + 14px); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--f404-line); border-radius: 0; color: var(--f404-orange) !important; }
.f4p-m-country > summary { display: flex; align-items: center; gap: 12px; padding: 15px max(20px, env(safe-area-inset-right)) 15px calc(max(20px, env(safe-area-inset-left)) + 14px); font-size: 16px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--f404-line); }
.f4p-mobile-panel ul { list-style: none; margin: 0; padding: 4px 0 10px; background: #ffffff63; }
.f4p-mobile-panel ul a { display: block; padding: 11px max(20px, env(safe-area-inset-right)) 11px calc(max(20px, env(safe-area-inset-left)) + 28px); border-radius: 0; font-size: 15px; font-weight: 500; color: #4a4c46 !important; }
.f4p-mobile-panel ul a:hover { background: #ffffffcc; color: var(--f404-ink) !important; }
.f4p-mobile-panel .f4p-register { order: 99; justify-content: center; margin: auto max(20px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)) !important; padding: 16px 24px !important; font-size: 16px !important; border-bottom: 0 !important; border-radius: 999px !important; }
