/* Shared independent blue brand; existing component greens retain their values. */
:root{--brand:#2563EB;--brand-dark:#1D4ED8;--brand-soft:#EFF6FF;--brand-rgb:37,99,235;--brand-light:#93C5FD;--surface:#F8FAFC;--surface-dark:#0F172A;--surface-dark-card:#1E293B;--ink:#172033;--muted:#64748B;--line:#DCE5F0;--line-dark:#334155;--text-on-dark:#CBD5E1;--muted-on-dark:#94A3B8;--green:#15845D;--danger:#DC2626;--danger-light:#FCA5A5;--warning:#B45309;--warning-light:#FBBF24;--warning-soft:#FFFBEB;--warning-line:#FDE68A;--brand-shadow:0 24px 70px rgba(37,99,235,.14)}
:where(a,button,input,textarea,select):focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.brand-disclaimer{grid-column:1/-1;flex-basis:100%;margin:12px 0 0;font-size:.82rem;line-height:1.7}
.legal-footer{flex-wrap:wrap}

/* Contrast fixes: appended color-only overrides; no background, size, or copy changes. */
body .translation-demo-card p,body .order-quantity-options small{color:var(--ink)}
body footer .site-policy-links,body footer .site-policy-links *{color:var(--muted-on-dark)}
html body pre,html body pre *{color:var(--text-on-dark)}
.line-login-button:not([aria-disabled=true]),body .line-route a{color:var(--ink)}
body .extension-empty p,body .product-price-tiers .recommended>span,body .updates-section>p{color:var(--ink)}
body footer .friend-links a{color:var(--muted-on-dark)}
body .output pre,body .output pre *{color:var(--text-on-dark)}
body .slink-button:disabled{opacity:.55;cursor:not-allowed}

/* Share links close each section and keep anchored content below the sticky header. */
main > section[id],#link-shorten,.image-tools-choice[id],.extension-group[id],.extension-item[id],.shipping-product[id]{scroll-margin-top:120px}
.share-slot{position:relative;display:flex;grid-column:1/-1;justify-content:flex-end;min-width:0;width:100%;margin:12px 0 0}
.share-trigger{min-width:72px;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);font:inherit;font-size:.84rem;font-weight:800;cursor:pointer}
.share-trigger:hover,.share-trigger[aria-expanded=true]{background:var(--brand);color:#fff}
.share-menu{position:fixed;z-index:30;min-width:180px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;padding:8px;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.22);color:var(--ink)}
.share-menu[hidden]{display:none}
.share-menu button,.share-menu a{display:flex;align-items:center;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:.9rem;text-align:left;text-decoration:none;cursor:pointer}
.share-menu button:hover,.share-menu a:hover{background:var(--brand-soft);color:var(--brand-dark)}
.share-status{display:block;padding:0 12px;color:var(--brand-dark);font-size:.82rem;font-weight:800}
.share-status:empty{display:none}
.toolbox-section .share-trigger{background:#fff;color:var(--brand-dark)}
.toolbox-section .share-trigger:hover,.toolbox-section .share-trigger[aria-expanded=true]{background:var(--surface-dark);color:#fff}
.shipping-shop-section .share-trigger{border:1px solid var(--line);background:#fff}
.shipping-shop-section > .share-slot{margin-top:28px}
body .extension-group{overflow:visible}
